code: def test_dtw_subseq_sym():
      Y = np.array([10.0, 10.0, 0.0, 1.0, 2.0, 3.0, 10.0, 10.0])
      X = np.arange(4)
  
      gt_wp_XY = np.array([[3, 5], [2, 4], [1, 3], [0, 2]])
      gt_wp_YX = np.array([[5, 3], [4, 2], [3, 1], [2, 0]])
  
      _, mut_wp_XY = librosa.sequence.dtw(X, Y, subseq=True)
      _, mut_wp_YX = librosa.sequence.dtw(Y, X, subseq=True)
  
      assert np.array_equal(gt_wp_XY, mut_wp_XY)
      assert np.array_equal(gt_wp_YX, mut_wp_YX)
  
imports: import librosa
  import numpy
  from scipy.spatial.distance import cdist
  import pytest
  from test_core import srand
label_desc: Use image node_id 18 for calling a global function with example usage: test_dtw_subseq_sym() without return types