commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From celes...@apache.org
Subject svn commit: r1379271 [1/3] - in /commons/proper/math/trunk/src/test: java/org/apache/commons/math3/distribution/ resources/org/apache/commons/math3/distribution/
Date Fri, 31 Aug 2012 03:14:03 GMT
Author: celestin
Date: Fri Aug 31 03:14:03 2012
New Revision: 1379271

URL: http://svn.apache.org/viewvc?rev=1379271&view=rev
Log:
MATH-849: added new test in GammaDistributionTest to check that new
implementation of Gamma.logGamma does not compromise the resolution of
MATH-735.

Added:
    commons/proper/math/trunk/src/test/resources/org/apache/commons/math3/distribution/gamma-distribution-shape-8.csv
Modified:
    commons/proper/math/trunk/src/test/java/org/apache/commons/math3/distribution/GammaDistributionTest.java
    commons/proper/math/trunk/src/test/resources/org/apache/commons/math3/distribution/gamma-distribution.mac

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/distribution/GammaDistributionTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/distribution/GammaDistributionTest.java?rev=1379271&r1=1379270&r2=1379271&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math3/distribution/GammaDistributionTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math3/distribution/GammaDistributionTest.java
Fri Aug 31 03:14:03 2012
@@ -330,6 +330,11 @@ public class GammaDistributionTest exten
     }
 
     @Test
+    public void testMath753Shape8() throws IOException {
+        doTestMath753(8.0, 1.5, 1.0, 0.0, 0.0, "gamma-distribution-shape-8.csv");
+    }
+
+    @Test
     public void testMath753Shape10() throws IOException {
         doTestMath753(10.0, 1.0, 1.0, 0.0, 0.0, "gamma-distribution-shape-10.csv");
     }



Mime
View raw message