code: def test_mdl(T, m):
      subseq_idx = np.full(T.shape[0], 1)
      nn_idx = np.full(T.shape[0], 4)
  
      ref_MDL, ref_S = naive.mdl(T, m, subseq_idx, nn_idx)
      comp_MDL, comp_S = mdl(T, m, subseq_idx, nn_idx)
      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 functools
  import naive
  import numpy
  import numpy.testing
  import pandas
  import pytest
  from stumpy import config, core, mdl, mstump, subspace
  from stumpy.mstump import _get_first_mstump_profile, _get_multi_QT, _multi_mass, multi_distance_profile
label_desc: Use image node_id 11 for calling a global function with example usage: test_mdl(T, m) without return types