diff --git a/src/test/org/apache/commons/math/stat/univariate/StorelessUnivariateStatisticAbstractTest.java b/src/test/org/apache/commons/math/stat/univariate/StorelessUnivariateStatisticAbstractTest.java index a4ea392ef..cfb9c7a06 100644 --- a/src/test/org/apache/commons/math/stat/univariate/StorelessUnivariateStatisticAbstractTest.java +++ b/src/test/org/apache/commons/math/stat/univariate/StorelessUnivariateStatisticAbstractTest.java @@ -80,11 +80,11 @@ public abstract class StorelessUnivariateStatisticAbstractTest statistic.increment(testArray[i]); } - assertEquals(expectedValue(), statistic.getValue(), getTolerance()); + assertEquals(expectedValue(), statistic.getResult(), getTolerance()); statistic.clear(); - - assertTrue(Double.isNaN(statistic.getValue())); + + assertTrue(Double.isNaN(statistic.getResult())); }