diff --git a/ProcessOptimizer/tests/test_constraints.py b/ProcessOptimizer/tests/test_constraints.py index 120aa2cb..40a0c89b 100644 --- a/ProcessOptimizer/tests/test_constraints.py +++ b/ProcessOptimizer/tests/test_constraints.py @@ -245,6 +245,7 @@ def test_SumEquals(): n_initial_points=10, ) opt.set_constraints(cons) + # Check that we can ask for 10 points assert opt.ask(10) # We should not be able to ask for 11 with raises(ValueError):