commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r618113 - /commons/proper/math/trunk/src/test/org/apache/commons/math/stat/descriptive/SummaryStatisticsAbstractTest.java
Date Sun, 03 Feb 2008 22:43:54 GMT
Author: luc
Date: Sun Feb  3 14:43:53 2008
New Revision: 618113

URL: http://svn.apache.org/viewvc?rev=618113&view=rev
Log:
changing the order of data to be less sensitive to numerical problems on different JVM
JIRA: MATH-186

Modified:
    commons/proper/math/trunk/src/test/org/apache/commons/math/stat/descriptive/SummaryStatisticsAbstractTest.java

Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/stat/descriptive/SummaryStatisticsAbstractTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/stat/descriptive/SummaryStatisticsAbstractTest.java?rev=618113&r1=618112&r2=618113&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/stat/descriptive/SummaryStatisticsAbstractTest.java
(original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/stat/descriptive/SummaryStatisticsAbstractTest.java
Sun Feb  3 14:43:53 2008
@@ -198,10 +198,10 @@
                 u.hashCode() != t.hashCode());
 
         //Add data in different order to t, should not affect identity or hashcode
-        t.addValue(4d);
         t.addValue(2d);
         t.addValue(3d);
         t.addValue(1d);
+        t.addValue(4d);
         assertTrue("summaries based on same data should be equal", t.equals(u));
         assertTrue("summaries based on same data should be equal", u.equals(t));
         assertEquals("summaries based on same data should have same hashcodes", 



Mime
View raw message