@Test
public void minimalScalarVectorCodec() {

	final Codec<Double, DoubleGene> codec = new CompositeCodec<>(
		ISeq.of(
			Codecs.ofScalar(DoubleRange.of(0, 1)),
			Codecs.ofVector(DoubleRange.of(10, 100), 3),
			Codecs.ofScalar(DoubleRange.of(2, 3)),
			Codecs.ofVector(DoubleRange.of(200, 500), DoubleRange.of(200, 500))
		),
		values -> 10.0
	);
	final Genotype<DoubleGene> gt = codec.encoding().newInstance();
	Assert.assertEquals(gt.length(), 5);
}