(T, m)
| 377 | |
| 378 | @pytest.mark.parametrize("T, m", test_data) |
| 379 | def test_mmotifs(T, m): |
| 380 | mps, indices = maamp(T, m) |
| 381 | ref_distances, ref_indices, ref_subspaces, ref_mdls = aamp_mmotifs(T, mps, indices) |
| 382 | cmp_distances, cmp_indices, cmp_subspaces, cmp_mdls = mmotifs( |
| 383 | T, mps, indices, normalize=False |
| 384 | ) |
| 385 | npt.assert_almost_equal(ref_distances, cmp_distances) |
| 386 | |
| 387 | |
| 388 | @pytest.mark.filterwarnings("ignore:All-NaN slice encountered") |
nothing calls this directly
no test coverage detected