code: def test_actual_results_trajectories(params, arr_desired):
      """Test that the actual results are the expected ones."""
      arr_actual = _trajectories(X, **params)
      np.testing.assert_allclose(
          arr_actual, arr_desired, atol=1e-5, rtol=0.0
      )
  
file_path: pyts/pyts/image/tests/test_recurrence.py
imports: import numpy
  import pytest
  import re
  from pyts.image.recurrence import _trajectories
  from pyts.image import RecurrencePlot
label_desc: Use image node_id 1 for calling a global function with example usage: test_actual_results_trajectories(params, arr_desired) without return types