(T, m)
| 169 | |
| 170 | @pytest.mark.parametrize("T, m", test_data) |
| 171 | def test_subspace_include(T, m): |
| 172 | motif_idx = 1 |
| 173 | nn_idx = 4 |
| 174 | for width in range(T.shape[0]): |
| 175 | for i in range(T.shape[0] - width): |
| 176 | include = np.asarray(range(i, i + width + 1)) |
| 177 | |
| 178 | for k in range(T.shape[0]): |
| 179 | ref_S = naive.subspace(T, m, motif_idx, nn_idx, k, include) |
| 180 | comp_S = subspace(T, m, motif_idx, nn_idx, k, include) |
| 181 | npt.assert_almost_equal(ref_S, comp_S) |
| 182 | |
| 183 | |
| 184 | @pytest.mark.parametrize("T, m", test_data) |
nothing calls this directly
no test coverage detected