code: def test_outer_dot(v, X, arr_desired):
      """Test that the actual results are the expected ones."""
      v = np.asarray(v).astype("float64")
      X = np.asarray(X).astype("float64")
      n_samples, n_windows, window_size = X.shape
      arr_actual = _outer_dot(v, X, n_samples, window_size, n_windows)
      np.testing.assert_allclose(
          arr_actual, arr_desired, atol=1e-5, rtol=0.0
      )
  
file_path: pyts/pyts/decomposition/tests/test_ssa.py
imports: import numpy
  import pytest
  import re
  from pyts.decomposition.ssa import _outer_dot, _diagonal_averaging
  from pyts.decomposition import SingularSpectrumAnalysis
label_desc: Use image node_id 1 for calling a global function with example usage: test_outer_dot(v, X, arr_desired) without return types