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

Function test_match

tests/test_non_normalized_decorator.py:367–375  ·  view source on GitHub ↗
(T, m)

Source from the content-addressed store, hash-verified

365
366@pytest.mark.parametrize("T, m", test_data)
367def test_match(T, m):
368 if T.ndim > 1:
369 T = T.copy()
370 T = T[0]
371
372 Q = T[:m]
373 ref = aamp_match(Q, T)
374 comp = match(Q, T, normalize=False)
375 npt.assert_almost_equal(ref, comp)
376
377
378@pytest.mark.parametrize("T, m", test_data)

Callers

nothing calls this directly

Calls 2

aamp_matchFunction · 0.90
matchFunction · 0.90

Tested by

no test coverage detected