(nx, method_params)
| 694 | |
| 695 | @pytest.mark.parametrize("method_params", lst_parameters_solve_sample_NotImplemented) |
| 696 | def test_solve_sample_NotImplemented(nx, method_params): |
| 697 | n_samples_s = 20 |
| 698 | n_samples_t = 7 |
| 699 | n_features = 2 |
| 700 | rng = np.random.RandomState(0) |
| 701 | |
| 702 | x = rng.randn(n_samples_s, n_features) |
| 703 | y = rng.randn(n_samples_t, n_features) |
| 704 | a = ot.utils.unif(n_samples_s) |
| 705 | b = ot.utils.unif(n_samples_t) |
| 706 | |
| 707 | xb, yb, ab, bb = nx.from_numpy(x, y, a, b) |
| 708 | |
| 709 | with pytest.raises(NotImplementedError): |
| 710 | ot.solve_sample(xb, yb, ab, bb, **method_params) |
nothing calls this directly
no test coverage detected