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

Function test_cac_custom_iac

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

Source from the content-addressed store, hash-verified

120
121@pytest.mark.parametrize("I", test_data)
122def test_cac_custom_iac(I):
123 L = 5
124 excl_factor = 1
125 ref = naive_cac(I, L, excl_factor)
126 custom_iac = naive_iac(I.shape[0])
127 bidirectional = True
128 comp = _cac(I, L, bidirectional, excl_factor, custom_iac)
129 npt.assert_almost_equal(ref, comp)
130
131
132@pytest.mark.parametrize("I", test_data)

Callers

nothing calls this directly

Calls 3

_cacFunction · 0.90
naive_cacFunction · 0.85
naive_iacFunction · 0.85

Tested by

no test coverage detected