code: def test_aamp_mmotifs_default_parameters():
      motif_distances_ref = np.array(
          [[0.0, 0.06315749, 0.25275899, 0.34087884, 0.3452315]]
      )
      motif_indices_ref = np.array([[19, 77, 63, 52, 71]])
      motif_subspaces_ref = [np.array([2])]
      motif_mdls_ref = [
          np.array(
              [
                  411.60964047,
                  423.69925001,
                  449.11032383,
                  476.95855027,
                  506.62406252,
              ]
          )
      ]
  
      np.random.seed(0)
      T = np.random.rand(500).reshape(5, 100)
  
      m = 5
      excl_zone = int(np.ceil(m / config.STUMPY_EXCL_ZONE_DENOM))
      P, I = naive.maamp(T, m, excl_zone)
      (
          motif_distances_cmp,
          motif_indices_cmp,
          motif_subspaces_cmp,
          motif_mdls_cmp,
      ) = aamp_mmotifs(T, P, I)
  
      npt.assert_array_almost_equal(
          motif_distances_ref, motif_distances_cmp
      )
      npt.assert_array_almost_equal(
          motif_indices_ref, motif_indices_cmp
      )
      npt.assert_array_almost_equal(
          motif_subspaces_ref, motif_subspaces_cmp
      )
      npt.assert_array_almost_equal(motif_mdls_ref, motif_mdls_cmp)
  
file_path: stumpy/tests/test_aamp_mmotifs.py
imports: import naive
  import numpy
  import numpy.testing
  import pytest
  from stumpy import aamp_mmotifs, config
label_desc: Use image node_id 1 for calling a global function with example usage: test_aamp_mmotifs_default_parameters() without return types