fixed incorrect test data that was causing test failures.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@155246 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brent Worden 2005-02-24 21:03:25 +00:00
parent 19ddf2957e
commit 56305e9807
1 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ public class TDistributionTest extends ContinuousDistributionAbstractTest {
/** Creates the default cumulative probability density test expected values */
public double[] makeCumulativeTestValues() {
return new double[] {0.001d, 0.01d, 0.025d, 0.05d, 0.1d, 0.0d, 0.999d,
return new double[] {0.001d, 0.01d, 0.025d, 0.05d, 0.1d, 0.5d, 0.999d,
0.990d, 0.975d, 0.950d, 0.900d};
}
@ -76,7 +76,7 @@ public class TDistributionTest extends ContinuousDistributionAbstractTest {
setTolerance(1E-4);
// quantiles computed using R version 1.8.1 (linux version)
setCumulativeTestPoints(new double[] {-318.3088, -31.82052, -12.70620, -6.313752,
-3.077684, 318.3088, 31.82052, 12.70620,
-3.077684, 0.0, 318.3088, 31.82052, 12.70620,
6.313752, 3.077684});
setInverseCumulativeTestValues(getCumulativeTestPoints());
verifyCumulativeProbabilities();