Author: celestin
Date: Mon Dec  5 09:01:14 2011
New Revision: 1210365

URL: http://svn.apache.org/viewvc?rev=1210365&view=rev
Log:
- Corrected unit test (MATH-715).

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

Modified: 
commons/proper/math/trunk/src/test/java/org/apache/commons/math/distribution/PascalDistributionTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/distribution/PascalDistributionTest.java?rev=1210365&r1=1210364&r2=1210365&view=diff
==============================================================================
--- 
commons/proper/math/trunk/src/test/java/org/apache/commons/math/distribution/PascalDistributionTest.java
 (original)
+++ 
commons/proper/math/trunk/src/test/java/org/apache/commons/math/distribution/PascalDistributionTest.java
 Mon Dec  5 09:01:14 2011
@@ -126,7 +126,7 @@ public class PascalDistributionTest exte
         Assert.assertEquals(dist.getNumericalMean(), ( 10d * 0.5d ) / 0.5d, 
tol);
         Assert.assertEquals(dist.getNumericalVariance(), ( 10d * 0.5d ) / 
(0.5d * 0.5d), tol);
 
-        dist = new PascalDistribution(25, 0.3);
+        dist = new PascalDistribution(25, 0.7);
         Assert.assertEquals(dist.getNumericalMean(), ( 25d * 0.3d ) / 0.7d, 
tol);
         Assert.assertEquals(dist.getNumericalVariance(), ( 25d * 0.3d ) / 
(0.7d * 0.7d), tol);
     }


Reply via email to