MCPcopy
hub / github.com/stumpy-dev/stumpy / test_stump

Function test_stump

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

Source from the content-addressed store, hash-verified

101
102@pytest.mark.parametrize("T, m", test_data)
103def test_stump(T, m):
104 if T.ndim > 1:
105 T = T.copy()
106 T = T[0]
107
108 ref = aamp(T, m)
109 comp = stump(T, m, normalize=False)
110 npt.assert_almost_equal(ref, comp)
111
112
113@pytest.mark.parametrize("T, m", test_data)

Callers

nothing calls this directly

Calls 2

aampFunction · 0.90
stumpFunction · 0.90

Tested by

no test coverage detected