Show limit in message [skip ci]

This commit is contained in:
Sebb 2023-12-23 15:19:52 +00:00
parent a8e7c2b8aa
commit b0cefc56c6
1 changed files with 2 additions and 2 deletions

View File

@ -73,8 +73,8 @@ public class MultiStartMultivariateOptimizerTest {
} }
final int numEval = optimizer.getEvaluations(); final int numEval = optimizer.getEvaluations();
Assert.assertTrue("n=" + numEval, numEval > 750); Assert.assertTrue("exp: n > 750, act: " + numEval, numEval > 750);
Assert.assertTrue("n=" + numEval, numEval < 950); Assert.assertTrue("exp: n < 950, act: " + numEval, numEval < 950);
Assert.assertEquals(3.1267527, optimum.getValue(), 1e-8); Assert.assertEquals(3.1267527, optimum.getValue(), 1e-8);
} }