(T, m)
| 183 | |
| 184 | @pytest.mark.parametrize("T, m", test_data) |
| 185 | def test_subspace_discords(T, m): |
| 186 | discord_idx = 1 |
| 187 | nn_idx = 4 |
| 188 | |
| 189 | for k in range(T.shape[0]): |
| 190 | ref_S = naive.subspace(T, m, discord_idx, nn_idx, k, discords=True) |
| 191 | comp_S = subspace(T, m, discord_idx, nn_idx, k, discords=True) |
| 192 | npt.assert_almost_equal(ref_S, comp_S) |
| 193 | |
| 194 | |
| 195 | @pytest.mark.parametrize("T, m", test_data) |
nothing calls this directly
no test coverage detected