def test_apply_one_kernel_one_sample(params, arr_desired):
    """Test the convolutions applied to one time series."""
    arr_actual = apply_one_kernel_one_sample(
        x=X[0], n_timestamps=7, **params)
    np.testing.assert_allclose(arr_actual, arr_desired, atol=1e-5, rtol=0)
Test the convolutions applied to one time series.
pyts/transformation/tests/test_rocket.py