@Test
public void newInstance() {

	final Random random = new ContinuousRandom(0);
	final AnyGene<Integer> gene = AnyGene.of(random::nextInt);
	for (int i = 0; i < 100; ++i) {
		final AnyGene<Integer> g = gene.newInstance();
		Assert.assertEquals(g.allele().intValue(), i + 1);
	}
}