IntegerDistribution ref = new PoissonDistribution(RandomUtils.getRandom().getRandomGenerator(),
alpha,
PoissonDistribution.DEFAULT_EPSILON,
PoissonDistribution.DEFAULT_MAX_ITERATIONS);
for (int i = 0; i < count.length; i++) {
assertEquals(ref.probability(i), count[i] / 10000.0, 2.0e-2);
}
}
}