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

Function test_cac

tests/test_floss.py:111–118  ·  view source on GitHub ↗
(I)

Source from the content-addressed store, hash-verified

109
110@pytest.mark.parametrize("I", test_data)
111def test_cac(I):
112 L = 5
113 excl_factor = 1
114 custom_iac = _iac(I.shape[0])
115 ref = naive_cac(I, L, excl_factor, custom_iac)
116 bidirectional = True
117 comp = _cac(I, L, bidirectional, excl_factor)
118 npt.assert_almost_equal(ref, comp)
119
120
121@pytest.mark.parametrize("I", test_data)

Callers

nothing calls this directly

Calls 3

_iacFunction · 0.90
_cacFunction · 0.90
naive_cacFunction · 0.85

Tested by

no test coverage detected