code: def test_dtw_subseq_supplied_distance_matrix():
      X = np.array([[0], [1], [2]])
      Y = np.array([[1], [2], [3], [4]])
      C = cdist(X, Y)
  
      costs0, path0 = librosa.sequence.dtw(X.T, Y.T, subseq=True)
      costs1, path1 = librosa.sequence.dtw(C=C, subseq=True)
  
      assert np.array_equal(costs0, costs1)
      assert np.array_equal(path0, path1)
  
imports: import librosa
  import numpy
  from scipy.spatial.distance import cdist
  import pytest
  from test_core import srand
label_desc: Use image node_id 17 for calling a global function with example usage: test_dtw_subseq_supplied_distance_matrix() without return types