code: def test_actual_results(X, params):
      """Test that the actual results are the expected ones."""
      arr_actual = DiscreteFourierTransform(**params).fit_transform(
          X, y
      )
      arr_desired = _compute_expected_results(X, y, **params)
      np.testing.assert_array_equal(arr_actual, arr_desired)
  
file_path: pyts/pyts/approximation/tests/test_dft.py
imports: import numpy
  import pytest
  import re
  from sklearn.feature_selection import f_classif
  from pyts.approximation import DiscreteFourierTransform
label_desc: Use image node_id 4 for calling a global function with example usage: test_actual_results(X, params) without return types