commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r794489 - /commons/proper/math/trunk/src/test/org/apache/commons/math/stat/descriptive/AggregateSummaryStatisticsTest.java
Date Thu, 16 Jul 2009 01:54:33 GMT
Author: psteitz
Date: Thu Jul 16 01:54:32 2009
New Revision: 794489

URL: http://svn.apache.org/viewvc?rev=794489&view=rev
Log:
Fixed types.

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

Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/stat/descriptive/AggregateSummaryStatisticsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/stat/descriptive/AggregateSummaryStatisticsTest.java?rev=794489&r1=794488&r2=794489&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/stat/descriptive/AggregateSummaryStatisticsTest.java
(original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/stat/descriptive/AggregateSummaryStatisticsTest.java
Thu Jul 16 01:54:32 2009
@@ -167,7 +167,7 @@
         }
         
         // Compare values
-        StatisticalSummaryValues aggregatedStats = AggregateSummaryStatistics.aggregate(aggregate);
+        StatisticalSummary aggregatedStats = AggregateSummaryStatistics.aggregate(aggregate);
         assertEquals(totalStats.getSummary(), aggregatedStats, 10E-12);
     }
     
@@ -234,7 +234,7 @@
      * to delta, with NaNs, infinities returned in the same spots. For max, min, n, values
      * have to agree exactly, delta is used only for sum, mean, variance, std dev.
      */
-    protected static void assertEquals(StatisticalSummary expected, StatisticalSummaryValues
observed, double delta) {
+    protected static void assertEquals(StatisticalSummary expected, StatisticalSummary observed,
double delta) {
         TestUtils.assertEquals(expected.getMax(), observed.getMax(), 0);
         TestUtils.assertEquals(expected.getMin(), observed.getMin(), 0);
         assertEquals(expected.getN(), observed.getN());



Mime
View raw message