Override getTolerance() to work with correct target value.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141136 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Phil Steitz 2004-03-21 04:29:20 +00:00
parent 2adb974fd0
commit b8561416a7
1 changed files with 5 additions and 1 deletions

View File

@ -23,7 +23,7 @@ import org.apache.commons.math.stat.univariate.UnivariateStatistic;
/**
* Test cases for the {@link UnivariateStatistic} class.
* @version $Revision: 1.10 $ $Date: 2004/02/21 21:35:18 $
* @version $Revision: 1.11 $ $Date: 2004/03/21 04:29:20 $
*/
public class ProductTest extends StorelessUnivariateStatisticAbstractTest{
@ -53,6 +53,10 @@ public class ProductTest extends StorelessUnivariateStatisticAbstractTest{
return stat;
}
public double getTolerance() {
return 10E8; //sic -- big absolute error due to only 15 digits of accuracy in double
}
/* (non-Javadoc)
* @see org.apache.commons.math.stat.univariate.UnivariateStatisticAbstractTest#expectedValue()
*/