From 7fe8a8aff6fb65ac36a77b57046a1f918dac1c45 Mon Sep 17 00:00:00 2001 From: Otmar Ertl Date: Sun, 20 Sep 2015 20:25:39 +0200 Subject: [PATCH] extended GeometricDistributionTest to test inverse cumulative probability function also at point 1 --- .../commons/math3/distribution/GeometricDistributionTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 a3def559b..2795ead5d 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 }; }