code: def test_mmotifs(T, m):
      mps, indices = stumpy.maamp(T, m)
      (
          ref_distances,
          ref_indices,
          ref_subspaces,
          ref_mdls,
      ) = stumpy.aamp_mmotifs(T, mps, indices)
      (
          cmp_distances,
          cmp_indices,
          cmp_subspaces,
          cmp_mdls,
      ) = stumpy.mmotifs(T, mps, indices, normalize=False)
      npt.assert_almost_equal(ref_distances, cmp_distances)
  
imports: import naive
  import numpy
  import numpy.testing
  from dask.distributed import Client, LocalCluster
  from numba import cuda
  import stumpy
  from stumpy.maamp import maamp_multi_distance_profile
  from stumpy.mstump import multi_distance_profile
  import pytest
label_desc: Use image node_id 24 for calling a global function with example usage: test_mmotifs(T, m) without return types