commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From celes...@apache.org
Subject svn commit: r1358502 - /commons/proper/math/trunk/src/test/java/org/apache/commons/math3/linear/RealVectorAbstractTest.java
Date Sat, 07 Jul 2012 05:17:45 GMT
Author: celestin
Date: Sat Jul  7 05:17:44 2012
New Revision: 1358502

URL: http://svn.apache.org/viewvc?rev=1358502&view=rev
Log:
MATH-795: made some error messages more explicit.

Modified:
    commons/proper/math/trunk/src/test/java/org/apache/commons/math3/linear/RealVectorAbstractTest.java

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/linear/RealVectorAbstractTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/linear/RealVectorAbstractTest.java?rev=1358502&r1=1358501&r2=1358502&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math3/linear/RealVectorAbstractTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math3/linear/RealVectorAbstractTest.java
Sat Jul  7 05:17:44 2012
@@ -925,8 +925,7 @@ public abstract class RealVectorAbstract
             for (int j = 0; j < dataV.length; j++) {
                 final double expected = dataU[i] * dataV[j];
                 final double actual = uv.getEntry(i, j);
-                Assert.assertEquals("[" + i + "][" + j + "]", expected, actual,
-                    0d);
+                Assert.assertEquals(dataU[i] + " * " + dataV[j], expected, actual, 0d);
             }
         }
     }



Mime
View raw message