commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brentwor...@apache.org
Subject svn commit: r155246 - jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/TDistributionTest.java
Date Thu, 24 Feb 2005 21:03:26 GMT
Author: brentworden
Date: Thu Feb 24 13:03:25 2005
New Revision: 155246

URL: http://svn.apache.org/viewcvs?view=rev&rev=155246
Log:
fixed incorrect test data that was causing test failures.

Modified:
    jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/TDistributionTest.java

Modified: jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/TDistributionTest.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/TDistributionTest.java?view=diff&r1=155245&r2=155246
==============================================================================
--- jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/TDistributionTest.java
(original)
+++ jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/TDistributionTest.java
Thu Feb 24 13:03:25 2005
@@ -49,7 +49,7 @@
 
     /** 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 @@
         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();



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message