You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ce...@apache.org on 2012/01/18 08:50:22 UTC

svn commit: r1232773 - /commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/FunctionUtilsTest.java

Author: celestin
Date: Wed Jan 18 07:50:21 2012
New Revision: 1232773

URL: http://svn.apache.org/viewvc?rev=1232773&view=rev
Log:
Test was no longer expecting the correct exception following r1232759.

Modified:
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/FunctionUtilsTest.java

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/FunctionUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/FunctionUtilsTest.java?rev=1232773&r1=1232772&r2=1232773&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/FunctionUtilsTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/FunctionUtilsTest.java Wed Jan 18 07:50:21 2012
@@ -33,8 +33,8 @@ import org.apache.commons.math.analysis.
 import org.apache.commons.math.analysis.function.Power;
 import org.apache.commons.math.analysis.function.Sin;
 import org.apache.commons.math.analysis.function.Sinc;
-import org.apache.commons.math.exception.NonMonotonicSequenceException;
 import org.apache.commons.math.exception.NotStrictlyPositiveException;
+import org.apache.commons.math.exception.NumberIsTooLargeException;
 import org.apache.commons.math.util.FastMath;
 import org.junit.Assert;
 import org.junit.Test;
@@ -204,7 +204,7 @@ public class FunctionUtilsTest {
         }
     }
 
-    @Test(expected = NonMonotonicSequenceException.class)
+    @Test(expected = NumberIsTooLargeException.class)
     public void testSampleWrongBounds(){
         FunctionUtils.sample(new Sin(), Math.PI, 0.0, 10);
     }