code: def test_multi_mass_absolute(T, m):
      trivial_idx = 2
  
      Q = T[:, trivial_idx : trivial_idx + m]
  
      for p in [1.0, 2.0, 3.0]:
          ref = naive.multi_mass_absolute(Q, T, m, p=p)
  
          _T, T_subseq_isfinite = core.preprocess_non_normalized(T, m)
          comp = _multi_mass_absolute(
              Q,
              _T,
              m,
              T_subseq_isfinite[:, trivial_idx],
              T_subseq_isfinite,
              p=p,
          )
  
          npt.assert_almost_equal(
              ref, comp, decimal=config.STUMPY_TEST_PRECISION
          )
  
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 2 for calling a global function with example usage: test_multi_mass_absolute(T, m) without return types