commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From luc <...@spaceroots.org>
Subject Re: svn commit: r1424107 - in /commons/proper/math/trunk/src/test/java/org/apache/commons/math3/analysis/differentiation: DSCompilerTest.java DerivativeStructureTest.java FiniteDifferencesDifferentiatorTest.java
Date Thu, 20 Dec 2012 10:15:51 GMT
Le 2012-12-20 01:49, Gilles Sadowski a écrit :
> On Thu, Dec 20, 2012 at 01:14:50AM +0100, Gilles Sadowski wrote:
>> On Wed, Dec 19, 2012 at 09:10:21PM -0000, luc@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).

Thanks a lot Gilles.

Luc

>
> Gilles
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org


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


Mime
View raw message