commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oe...@apache.org
Subject [7/8] [math] extended GeometricDistributionTest to test inverse cumulative probability function also at point 1
Date Sun, 20 Sep 2015 19:06:50 GMT
extended GeometricDistributionTest to test inverse cumulative probability function also at
point 1


Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/7fe8a8af
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/7fe8a8af
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/7fe8a8af

Branch: refs/heads/MATH_3_X
Commit: 7fe8a8aff6fb65ac36a77b57046a1f918dac1c45
Parents: 6c53783
Author: Otmar Ertl <otmar.ertl@gmail.com>
Authored: Sun Sep 20 20:25:39 2015 +0200
Committer: Otmar Ertl <otmar.ertl@gmail.com>
Committed: Sun Sep 20 20:52:17 2015 +0200

----------------------------------------------------------------------
 .../commons/math3/distribution/GeometricDistributionTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/7fe8a8af/src/test/java/org/apache/commons/math3/distribution/GeometricDistributionTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/math3/distribution/GeometricDistributionTest.java
b/src/test/java/org/apache/commons/math3/distribution/GeometricDistributionTest.java
index a3def55..2795ead 100644
--- a/src/test/java/org/apache/commons/math3/distribution/GeometricDistributionTest.java
+++ b/src/test/java/org/apache/commons/math3/distribution/GeometricDistributionTest.java
@@ -128,7 +128,7 @@ public class GeometricDistributionTest extends IntegerDistributionAbstractTest
{
             0.855, 0.860, 0.865, 0.870, 0.875, 0.880, 0.885, 0.890, 0.895,
             0.900, 0.905, 0.910, 0.915, 0.920, 0.925, 0.930, 0.935, 0.940,
             0.945, 0.950, 0.955, 0.960, 0.965, 0.970, 0.975, 0.980, 0.985,
-            0.990, 0.995
+            0.990, 0.995, 1.000
         };
     }
 
@@ -148,7 +148,7 @@ public class GeometricDistributionTest extends IntegerDistributionAbstractTest
{
             1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
             2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
             3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5,
-            5, 5, 6, 6, 6, 6, 7, 7, 8, 9, 10
+            5, 5, 6, 6, 6, 6, 7, 7, 8, 9, 10, Integer.MAX_VALUE
         };
     }
 


Mime
View raw message