code: def test_mpdist_snippets_s(T, m, k, s):
      (
          ref_snippets,
          ref_indices,
          ref_profiles,
          ref_fractions,
          ref_areas,
          ref_regimes,
      ) = naive.mpdist_snippets(T, m, k, s=s)
      (
          cmp_snippets,
          cmp_indices,
          cmp_profiles,
          cmp_fractions,
          cmp_areas,
          cmp_regimes,
      ) = snippets(T, m, k, s=s)
  
      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)
  
file_path: stumpy/tests/test_snippets.py
imports: import functools
  import naive
  import numpy
  import numpy.testing
  import pytest
  from stumpy import config, snippets
  from stumpy.snippets import _get_all_profiles
label_desc: Use image node_id 7 for calling a global function with example usage: test_mpdist_snippets_s(T, m, k, s) without return types