(T, m)
| 104 | |
| 105 | @pytest.mark.parametrize("T, m", test_data) |
| 106 | def test_maamp_subspace_include(T, m): |
| 107 | motif_idx = 1 |
| 108 | nn_idx = 4 |
| 109 | for width in range(T.shape[0]): |
| 110 | for i in range(T.shape[0] - width): |
| 111 | include = np.asarray(range(i, i + width + 1)) |
| 112 | |
| 113 | for k in range(T.shape[0]): |
| 114 | ref_S = naive.maamp_subspace(T, m, motif_idx, nn_idx, k, include) |
| 115 | comp_S = maamp_subspace(T, m, motif_idx, nn_idx, k, include) |
| 116 | npt.assert_almost_equal(ref_S, comp_S) |
| 117 | |
| 118 | |
| 119 | @pytest.mark.parametrize("T, m", test_data) |
nothing calls this directly
no test coverage detected