code: def test_massDistanceProfile_tsa_tsb(self):
      outcome = (
          np.array(
              [0.0, 2.828, 4.0, 2.828, 0.0, 2.828, 4.0, 2.828, 0.0]
          ),
          np.array([0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]),
      )
  
      a = np.array([0.0, 1.0, 1.0, 0.0])
      b = np.array(
          [0.0, 1.0, 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0, 1.0, 0.0]
      )
  
      assert (
          np.round(massDistanceProfile(a, 0, 4, b), 3) == outcome
      ).all()
      assert (a == np.array([0.0, 1.0, 1.0, 0.0])).all()
  
file_path: matrixprofile-ts/tests/test_distanceProfile.py
imports: from matrixprofile.distanceProfile import *
  import numpy
  import pytest
label_desc: Use image node_id 4 for calling the TestClass obj's underlying member method code with example usage: obj.test_massDistanceProfile_tsa_tsb() without return types