Changed distribution tests to use fixed seed. JIRA: MATH-418. Thanks to Venkat Murthy.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1606387 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Phil Steitz 2014-06-28 20:08:16 +00:00
parent 08e918330e
commit fca88f8e3d
1 changed files with 2 additions and 2 deletions

View File

@ -752,8 +752,8 @@ public class PSquarePercentileTest extends
*/
@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);
}