(Q, T)
| 189 | |
| 190 | @pytest.mark.parametrize("Q, T", test_data) |
| 191 | def test_aamp_match(Q, T): |
| 192 | m = Q.shape[0] |
| 193 | excl_zone = int(np.ceil(m / 4)) |
| 194 | max_distance = 0.3 |
| 195 | |
| 196 | for p in [1.0, 2.0, 3.0]: |
| 197 | left = naive_aamp_match( |
| 198 | Q, |
| 199 | T, |
| 200 | p=p, |
| 201 | excl_zone=excl_zone, |
| 202 | max_distance=max_distance, |
| 203 | ) |
| 204 | |
| 205 | right = aamp_match( |
| 206 | Q, |
| 207 | T, |
| 208 | p=p, |
| 209 | max_matches=None, |
| 210 | max_distance=max_distance, |
| 211 | ) |
| 212 | |
| 213 | npt.assert_almost_equal(left, right) |
| 214 | |
| 215 | |
| 216 | @pytest.mark.parametrize("Q, T", test_data) |
nothing calls this directly
no test coverage detected