code: def test_mmotifs_with_default_parameters(T):
      motif_distances_ref = np.array([[0.0000000e00, 1.1151008e-07]])
      motif_indices_ref = np.array([[2, 9]])
      motif_subspaces_ref = [np.array([1])]
      motif_mdls_ref = [
          np.array([232.0, 250.57542476, 260.0, 271.3509059])
      ]
  
      m = 4
      excl_zone = int(np.ceil(m / config.STUMPY_EXCL_ZONE_DENOM))
      P, I = naive.mstump(T, m, excl_zone)
      (
          motif_distances_cmp,
          motif_indices_cmp,
          motif_subspaces_cmp,
          motif_mdls_cmp,
      ) = 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_mmotifs.py
imports: import naive
  import numpy
  import numpy.testing
  import pytest
  from stumpy import config, mmotifs
label_desc: Use image node_id 1 for calling a global function with example usage: test_mmotifs_with_default_parameters(T) without return types