extended GeometricDistributionTest to test inverse cumulative

probability function also at point 1
This commit is contained in:
Otmar Ertl 2015-09-20 20:25:39 +02:00
parent 079a07fe18
commit 4158323ee4
1 changed files with 2 additions and 2 deletions

View File

@ -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
};
}