code: def test_maamp_mdl(T, m):
      subseq_idx = np.full(T.shape[0], 1)
      nn_idx = np.full(T.shape[0], 4)
  
      for p in [1.0, 2.0, 3.0]:
          ref_MDL, ref_S = naive.maamp_mdl(
              T, m, subseq_idx, nn_idx, p=p
          )
          comp_MDL, comp_S = maamp_mdl(T, m, subseq_idx, nn_idx, p=p)
          npt.assert_almost_equal(ref_MDL, comp_MDL)
  
          for ref, cmp in zip(ref_S, comp_S):
              npt.assert_almost_equal(ref, cmp)
  
imports: import naive
  import numpy
  import numpy.testing
  import pandas
  import pytest
  from stumpy import config, core, maamp, maamp_mdl, maamp_subspace
  from stumpy.maamp import _get_first_maamp_profile, _multi_mass_absolute, maamp_multi_distance_profile
label_desc: Use image node_id 9 for calling a global function with example usage: test_maamp_mdl(T, m) without return types