You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2013/09/06 18:16:44 UTC
svn commit: r1520623 -
/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/util/MathArraysTest.java
Author: erans
Date: Fri Sep 6 16:16:43 2013
New Revision: 1520623
URL: http://svn.apache.org/r1520623
Log:
Swapped arguments (expected vs tested).
Modified:
commons/proper/math/trunk/src/test/java/org/apache/commons/math3/util/MathArraysTest.java
Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/util/MathArraysTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/util/MathArraysTest.java?rev=1520623&r1=1520622&r2=1520623&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math3/util/MathArraysTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math3/util/MathArraysTest.java Fri Sep 6 16:16:43 2013
@@ -994,6 +994,6 @@ public class MathArraysTest {
@Test
public void testNaturalZero() {
final int[] natural = MathArrays.natural(0);
- Assert.assertEquals(natural.length, 0);
+ Assert.assertEquals(0, natural.length);
}
}