code: def test_actual_results(params, arr_desired):
      """Test that the actual results are the expected ones."""
      arr_actual = PiecewiseAggregateApproximation(
          **params
      ).fit_transform(X)
      np.testing.assert_allclose(
          arr_actual, arr_desired, atol=1e-5, rtol=0.0
      )
  
imports: import numpy
  import pytest
  import re
  from pyts.approximation.paa import _paa
  from pyts.approximation import PiecewiseAggregateApproximation
label_desc: Use image node_id 3 for calling a global function with example usage: test_actual_results(params, arr_desired) without return types