Fix test failure
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1003569 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bba2526326
commit
08c4e822e5
|
@ -42,7 +42,7 @@ public class UnivariateRealSolverUtilsTest extends TestCase {
|
||||||
|
|
||||||
public void testSolveBadEndpoints() throws MathException {
|
public void testSolveBadEndpoints() throws MathException {
|
||||||
try { // bad endpoints
|
try { // bad endpoints
|
||||||
UnivariateRealSolverUtils.solve(sin,0.0, 4.0, 4.0);
|
UnivariateRealSolverUtils.solve(sin, -0.1, 4.0, 4.0);
|
||||||
fail("Expecting IllegalArgumentException");
|
fail("Expecting IllegalArgumentException");
|
||||||
} catch (IllegalArgumentException ex) {
|
} catch (IllegalArgumentException ex) {
|
||||||
// expected
|
// expected
|
||||||
|
|
Loading…
Reference in New Issue