@Test(invocationCount = 20, successPercentage = 95)
public void newInstanceDistribution() {

	using(new Random(12345), r -> {
		final double min = 0;
		final double max = 100;
		final MinMax<Double> mm = MinMax.of();
		final Histogram<Double> histogram = Histogram.ofDouble(min, max, 10);
		for (int i = 0; i < 1000; ++i) {
			final DoubleChromosome chromosome = DoubleChromosome.of(min, max, 500);
			for (DoubleGene gene : chromosome) {
				mm.accept(gene.allele());
				histogram.accept(gene.allele());
			}
		}
		Assert.assertTrue(mm.min().compareTo(0.0) >= 0);
		Assert.assertTrue(mm.max().compareTo(100.0) <= 100);
		assertUniformDistribution(histogram);
	});
}