def test_actual_results_gadf(X_cos, X_sin, arr_desired):
    """Test that the actual results are the expected ones."""
    X_cos = np.asarray(X_cos)
    X_sin = np.asarray(X_sin)
    arr_actual = _gadf(X_cos, X_sin,
                       n_samples=X_cos.shape[0], image_size=X_cos.shape[1])
    np.testing.assert_allclose(arr_actual, arr_desired, atol=1e-5, rtol=0.)
Test that the actual results are the expected ones.
pyts/image/tests/test_gaf.py