code: def test_dtw_gobal_boundary():
      # Verify that boundary condition is fulfilled for subseq=False.
      # See https://github.com/librosa/librosa/pull/920
      X = np.array([1, 2, 3, 4, 5])
      Y = np.array([1, 1, 1, 2, 4, 5, 6, 5, 5])
      gt_wp = np.array(
          [
              [0, 0],
              [0, 1],
              [0, 2],
              [1, 3],
              [2, 3],
              [3, 4],
              [4, 5],
              [4, 6],
              [4, 7],
              [4, 8],
          ]
      )
  
      D, wp = librosa.sequence.dtw(X, Y, subseq=False)
      wp = wp[::-1]
      assert np.array_equal(gt_wp, wp)
  
imports: import librosa
  import numpy
  from scipy.spatial.distance import cdist
  import pytest
  from test_core import srand
label_desc: Use image node_id 5 for calling a global function with example usage: test_dtw_gobal_boundary() without return types