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

Function test_mstump

tests/test_mstump.py:246–253  ·  view source on GitHub ↗
(T, m)

Source from the content-addressed store, hash-verified

244
245@pytest.mark.parametrize("T, m", test_data)
246def test_mstump(T, m):
247 excl_zone = int(np.ceil(m / 4))
248
249 ref_P, ref_I = naive.mstump(T, m, excl_zone)
250 comp_P, comp_I = mstump(T, m)
251
252 npt.assert_almost_equal(ref_P, comp_P)
253 npt.assert_almost_equal(ref_I, comp_I)
254
255
256@pytest.mark.parametrize("T, m", test_data)

Callers

nothing calls this directly

Calls 1

mstumpFunction · 0.90

Tested by

no test coverage detected