Skip to content

Commit

Permalink
extended GeometricDistributionTest to test inverse cumulative
Browse files Browse the repository at this point in the history
probability function also at point 1
  • Loading branch information
oertl committed Sep 20, 2015
1 parent 079a07f commit 4158323
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -130,7 +130,7 @@ public double[] makeInverseCumulativeTestPoints() {
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
};
}

Expand All @@ -150,7 +150,7 @@ public int[] makeInverseCumulativeTestValues() {
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
};
}

Expand Down

0 comments on commit 4158323

Please sign in to comment.