@Test
public void estimateMass(){

	ContinuousDistribution distribution = new PoissonDistribution(5d);
	assertEquals(0.03368973d, DistributionUtil.probability(distribution, 1), 1e-8);
	assertEquals(0.14037390d, DistributionUtil.probability(distribution, 3), 1e-8);
	assertEquals(0.17546737d, DistributionUtil.probability(distribution, 5), 1e-8);
	assertEquals(0.10444486d, DistributionUtil.probability(distribution, 7), 1e-8);
	assertEquals(0.03626558d, DistributionUtil.probability(distribution, 9), 1e-8);
}