def test_actual_results_fixed_indices(indices, arr_desired):
    """Test the actual results with fixed indices."""
    X = [[0, 1, 3, 2, 1, 3, 1.5, 1, 2, 3, 3, 5],
         [4, 2, 0, 2, 3, 5, 3.0, 2, 1, 2, 4, 2]]
    fe = WindowFeatureExtractor()
    fe.indices_ = np.asarray(indices)
    arr_actual = fe.transform(X)
    np.testing.assert_allclose(arr_actual, arr_desired, atol=1e-5, rtol=0)
Test the actual results with fixed indices.
pyts/classification/tests/test_time_series_forest.py