MCPcopy Index your code
hub / github.com/stumpy-dev/stumpy / test_maamp_discords

Function test_maamp_discords

tests/test_maamp.py:210–217  ·  view source on GitHub ↗
(T, m)

Source from the content-addressed store, hash-verified

208
209@pytest.mark.parametrize("T, m", test_data)
210def test_maamp_discords(T, m):
211 excl_zone = int(np.ceil(m / 4))
212
213 ref_P, ref_I = naive.maamp(T, m, excl_zone, discords=True)
214 comp_P, comp_I = maamp(T, m, discords=True)
215
216 npt.assert_almost_equal(ref_P, comp_P)
217 npt.assert_almost_equal(ref_I, comp_I)
218
219
220@pytest.mark.parametrize("T, m", test_data)

Callers

nothing calls this directly

Calls 1

maampFunction · 0.90

Tested by

no test coverage detected