On Thu, Dec 20, 2012 at 01:14:50AM +0100, Gilles Sadowski wrote:
> On Wed, Dec 19, 2012 at 09:10:21PM -0000, l...@apache.org wrote:
> > Author: luc
> > Date: Wed Dec 19 21:10:20 2012
> > New Revision: 1424107
> > 
> > URL: http://svn.apache.org/viewvc?rev=1424107&view=rev
> > Log:
> > Added new tests.
> > 
> > Modified:
> >     
> > commons/proper/math/trunk/src/test/java/org/apache/commons/math3/analysis/differentiation/DSCompilerTest.java
> >     
> > commons/proper/math/trunk/src/test/java/org/apache/commons/math3/analysis/differentiation/DerivativeStructureTest.java
> >     
> > commons/proper/math/trunk/src/test/java/org/apache/commons/math3/analysis/differentiation/FiniteDifferencesDifferentiatorTest.java
> > 
> > Modified: 
> > commons/proper/math/trunk/src/test/java/org/apache/commons/math3/analysis/differentiation/DSCompilerTest.java
> > URL: 
> > http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/analysis/differentiation/DSCompilerTest.java?rev=1424107&r1=1424106&r2=1424107&view=diff
> > ==============================================================================
> > --- 
> > commons/proper/math/trunk/src/test/java/org/apache/commons/math3/analysis/differentiation/DSCompilerTest.java
> >  (original)
> > +++ 
> > commons/proper/math/trunk/src/test/java/org/apache/commons/math3/analysis/differentiation/DSCompilerTest.java
> >  Wed Dec 19 21:10:20 2012
> > @@ -21,6 +21,7 @@ import java.lang.reflect.Field;
> >  import java.util.HashMap;
> >  import java.util.Map;
> >  
> > +import org.apache.commons.math3.exception.DimensionMismatchException;
> >  import org.apache.commons.math3.util.ArithmeticUtils;
> >  import org.junit.Assert;
> >  import org.junit.Test;
> > @@ -128,6 +129,16 @@ public class DSCompilerTest {
> >  
> >      }
> >  
> > +    @Test(expected=DimensionMismatchException.class)
> > +    public void testIncompatbileParams() {
> > +        DSCompiler.getCompiler(3, 
> > 2).checkCompatibility(DSCompiler.getCompiler(4, 2));
> > +    }
> > +
> > +    @Test(expected=DimensionMismatchException.class)
> > +    public void testIncompatbileOrder() {
> > +        DSCompiler.getCompiler(3, 
> > 3).checkCompatibility(DSCompiler.getCompiler(3, 2));
> > +    }
> > +
> 
> There typos in the method names: "Incompatbile" instead of "Incompatible".

Fixed (revision 1424252).

Gilles

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to