@Test
// tests conversion of binary numbers into integers
public void testBinaryToInteger1(){

    this.representation.genome = new boolean[]{
            false, true, false, true, true, true,
            true, false,
            true, true, true, true,
            true, true, true, true, true, false, true, false, false
    };
    double[] expected = new double[] {23, 2, 15, 500};
    double[] result = this.representation.binaryToInteger();
    assertEquals(MathUtils.sumSizes(this.descriptor.variablesLengths), this.representation.genome.length);
    assertEquals(expected.length, result.length);
    Assert.assertArrayEquals(expected, result, 0.0);
}