Fixed types.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@794489 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Phil Steitz 2009-07-16 01:54:32 +00:00
parent 8be748c00d
commit 88a8df3f9d
1 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ public class AggregateSummaryStatisticsTest extends TestCase {
}
// Compare values
StatisticalSummaryValues aggregatedStats = AggregateSummaryStatistics.aggregate(aggregate);
StatisticalSummary aggregatedStats = AggregateSummaryStatistics.aggregate(aggregate);
assertEquals(totalStats.getSummary(), aggregatedStats, 10E-12);
}
@ -234,7 +234,7 @@ public class AggregateSummaryStatisticsTest extends TestCase {
* 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());