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:
Sebastian Bazley 2010-10-01 15:59:54 +00:00
parent bba2526326
commit 08c4e822e5
1 changed files with 1 additions and 1 deletions

View File

@ -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