Show more test context
This commit is contained in:
parent
6a4d802cb9
commit
55e5c1060c
|
@ -245,7 +245,7 @@ public class SimplexOptimizerNelderMeadTest {
|
|||
Assert.assertEquals(name + ": distance to optimum", 0d, dist, tol);
|
||||
|
||||
final int nEval = optim.getEvaluations();
|
||||
Assert.assertTrue(name + ": nEval=" + nEval,
|
||||
Assert.assertTrue(name + ": nEval=" + nEval + " < " + maxEvaluations,
|
||||
nEval < maxEvaluations);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -232,7 +232,7 @@ public class SimplexOptimizerTest {
|
|||
|
||||
final int nEval = optim.getEvaluations();
|
||||
Assertions.assertTrue(nEval < functionEvaluations,
|
||||
() -> name + ": nEval=" + nEval);
|
||||
() -> name + ": nEval=" + nEval + " < " + functionEvaluations);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue