code: def test_aampdist_snippets(T, m, k):
      for p in [1.0, 2.0, 3.0]:
          (
              ref_snippets,
              ref_indices,
              ref_profiles,
              ref_fractions,
              ref_areas,
              ref_regimes,
          ) = naive.aampdist_snippets(T, m, k, p=p)
          (
              cmp_snippets,
              cmp_indices,
              cmp_profiles,
              cmp_fractions,
              cmp_areas,
              cmp_regimes,
          ) = aampdist_snippets(T, m, k, p=p)
  
          npt.assert_almost_equal(
              ref_snippets,
              cmp_snippets,
              decimal=config.STUMPY_TEST_PRECISION,
          )
          npt.assert_almost_equal(
              ref_indices,
              cmp_indices,
              decimal=config.STUMPY_TEST_PRECISION,
          )
          # npt.assert_almost_equal(
          #     ref_profiles, cmp_profiles, decimal=config.STUMPY_TEST_PRECISION
          # )
          npt.assert_almost_equal(
              ref_fractions,
              cmp_fractions,
              decimal=config.STUMPY_TEST_PRECISION,
          )
          # npt.assert_almost_equal(
          #     ref_areas, cmp_areas, decimal=config.STUMPY_TEST_PRECISION
          # )
          npt.assert_almost_equal(ref_regimes, cmp_regimes)
  
imports: import naive
  import numpy
  import numpy.testing
  import pytest
  from stumpy import aampdist_snippets, config
label_desc: Use image node_id 1 for calling a global function with example usage: test_aampdist_snippets(T, m, k) without return types