@Test
public void testDistributionGeneration() {

    double[] probs = DiscreteRandomProducer.randomDistribution(5, 0L);
    assertArrayEquals(new double[] {0.23, 0.27, 0.079, 0.19, 0.20}, probs, 0.01);
}