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

Function test_aamped_self_join_larger_window

tests/test_aamped.py:83–91  ·  view source on GitHub ↗
(T_A, T_B, m, dask_cluster)

Source from the content-addressed store, hash-verified

81@pytest.mark.parametrize("T_A, T_B", test_data)
82@pytest.mark.parametrize("m", window_size)
83def test_aamped_self_join_larger_window(T_A, T_B, m, dask_cluster):
84 with Client(dask_cluster) as dask_client:
85 if len(T_B) > m:
86 ref_mp = naive.aamp(T_B, m)
87 comp_mp = aamped(dask_client, T_B, m)
88 naive.replace_inf(ref_mp)
89 naive.replace_inf(comp_mp)
90
91 npt.assert_almost_equal(ref_mp, comp_mp)
92
93
94@pytest.mark.filterwarnings("ignore:numpy.dtype size changed")

Callers

nothing calls this directly

Calls 1

aampedFunction · 0.90

Tested by

no test coverage detected