(T, m)
| 92 | |
| 93 | @pytest.mark.parametrize("T, m", test_data) |
| 94 | def test_maamp_subspace(T, m): |
| 95 | motif_idx = 1 |
| 96 | nn_idx = 4 |
| 97 | |
| 98 | for p in [1.0, 2.0, 3.0]: |
| 99 | for k in range(T.shape[0]): |
| 100 | ref_S = naive.maamp_subspace(T, m, motif_idx, nn_idx, k, p=p) |
| 101 | comp_S = maamp_subspace(T, m, motif_idx, nn_idx, k, p=p) |
| 102 | npt.assert_almost_equal(ref_S, comp_S) |
| 103 | |
| 104 | |
| 105 | @pytest.mark.parametrize("T, m", test_data) |
nothing calls this directly
no test coverage detected