commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r1606387 - /commons/proper/math/trunk/src/test/java/org/apache/commons/math3/stat/descriptive/rank/PSquarePercentileTest.java
Date Sat, 28 Jun 2014 20:08:16 GMT
Author: psteitz
Date: Sat Jun 28 20:08:16 2014
New Revision: 1606387

URL: http://svn.apache.org/r1606387
Log:
Changed distribution tests to use fixed seed. JIRA: MATH-418.  Thanks to Venkat Murthy.

Modified:
    commons/proper/math/trunk/src/test/java/org/apache/commons/math3/stat/descriptive/rank/PSquarePercentileTest.java

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/stat/descriptive/rank/PSquarePercentileTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/stat/descriptive/rank/PSquarePercentileTest.java?rev=1606387&r1=1606386&r2=1606387&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math3/stat/descriptive/rank/PSquarePercentileTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math3/stat/descriptive/rank/PSquarePercentileTest.java
Sat Jun 28 20:08:16 2014
@@ -752,8 +752,8 @@ public class PSquarePercentileTest exten
      */
     @Test
     public void testDistribution() {
-        doDistributionTest(new NormalDistribution(4000, 50));
-        doDistributionTest(new LogNormalDistribution(4000, 50));
+        doDistributionTest(new NormalDistribution(randomGenerator, 4000, 50));
+        doDistributionTest(new LogNormalDistribution(randomGenerator,4000, 50));
         // doDistributionTest((new ExponentialDistribution(4000));
         // doDistributionTest(new GammaDistribution(5d,1d),0.1);
     }



Mime
View raw message