commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r778080 - /commons/proper/math/trunk/src/test/org/apache/commons/math/stat/correlation/PearsonsCorrelationTest.java
Date Sun, 24 May 2009 04:25:52 GMT
Author: psteitz
Date: Sun May 24 04:25:51 2009
New Revision: 778080

URL: http://svn.apache.org/viewvc?rev=778080&view=rev
Log:
removed duplicate assertion.

Modified:
    commons/proper/math/trunk/src/test/org/apache/commons/math/stat/correlation/PearsonsCorrelationTest.java

Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/stat/correlation/PearsonsCorrelationTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/stat/correlation/PearsonsCorrelationTest.java?rev=778080&r1=778079&r2=778080&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/stat/correlation/PearsonsCorrelationTest.java
(original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/stat/correlation/PearsonsCorrelationTest.java
Sun May 24 04:25:51 2009
@@ -168,7 +168,6 @@
         double[] noVariance = new double[] {1, 1, 1, 1};
         double[] values = new double[] {1, 2, 3, 4};
         assertTrue(Double.isNaN(new PearsonsCorrelation().correlation(noVariance, values)));
-        assertTrue(Double.isNaN(new PearsonsCorrelation().correlation(noVariance, values)));
     }
     
     



Mime
View raw message