@Test(invocationCount = 10)
public void mutate() {

	final PermutationChromosome<Integer> original =
		PermutationChromosome.ofInteger(50);
	final RSMutator<EnumGene<Integer>, Integer> mutator =
		new RSMutator<>(1.0);
	final MutatorResult<Chromosome<EnumGene<Integer>>> result =
		mutator.mutate(original, 1, new Random());
	final int[] a = original.stream()
		.mapToInt(EnumGene::allele)
		.toArray();
	final int[] b = result.result().stream()
		.mapToInt(EnumGene::allele)
		.toArray();
	Assert.assertEquals(
		result.mutations(),
		endIndex(a, b) - startIndex(a, b)
	);
}