@Test
//tests correct conversion of multiple gray variables into binary notation
public void testDecodeGenomeToBinary1(){

    boolean[] gray = new boolean[]{
            true, true, true, true, true, true,
            true, true,
            true, false, false, false,
            false, false, false, true, false, true, false, true, false, true
    };
    assertEquals((6+2+4+10), gray.length);
    this.representation.genome = gray;
    boolean[] result = this.representation.decodeGenomeToBinary();
    assertEquals((6+2+4+10), result.length);
    boolean[] binary = new boolean[]{
            true, false, true, false, true, false,
            true, false,
            true, true, true, true,
            false, false, false, true, true, false, false, true, true, false
    };
    assertEquals(binary.length, result.length);
    // Assert does not have assertArrayEquals for boolean[]...
    for (int i = 0; i < binary.length; i++){
        Assert.assertEquals("in step " + i, binary[i], result[i]);
    }
}