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/4158323e
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/4158323e
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/4158323e

Branch: refs/heads/master
Commit: 4158323ee456bd412e7357a4a6bc8bf50deb5d9e
Parents: 079a07f
Author: Otmar Ertl <[email protected]>
Authored: Sun Sep 20 20:25:39 2015 +0200
Committer: Otmar Ertl <[email protected]>
Committed: Sun Sep 20 20:25:39 2015 +0200

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


http://git-wip-us.apache.org/repos/asf/commons-math/blob/4158323e/src/test/java/org/apache/commons/math4/distribution/GeometricDistributionTest.java
----------------------------------------------------------------------
diff --git 
a/src/test/java/org/apache/commons/math4/distribution/GeometricDistributionTest.java
 
b/src/test/java/org/apache/commons/math4/distribution/GeometricDistributionTest.java
index ba35153..e76254f 100644
--- 
a/src/test/java/org/apache/commons/math4/distribution/GeometricDistributionTest.java
+++ 
b/src/test/java/org/apache/commons/math4/distribution/GeometricDistributionTest.java
@@ -130,7 +130,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
         };
     }
 
@@ -150,7 +150,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
         };
     }
 

Reply via email to