@Test
    public void pacmanMode() {
        x = 4;
        y = 4;
        rule = new RuleSet("23/3");
        grid = new Grille(x, y, rule);

        grid.setWrap(true);
        
        boolean[][] originalValue = {{false,false,false,false}, {true,false,true,false}, {true,false,false,true}, {false,true,false,false}};
        grid.setBooleans(originalValue);

        Grille expectedGrid1 = new Grille(x, y, rule);
        boolean[][] exprectedValue1 = {{false,true,false,false}, {true,true,false,false}, {true,false,true,true}, {true,false,false,false}};
        expectedGrid1.setBooleans(exprectedValue1);

        grid.incrementGeneration(1);
        assertArrayEquals(expectedGrid1.getBooleans(), grid.getBooleans());
        
        Grille expectedGrid2 = new Grille(x, y, rule);
        boolean[][] exprectedValue2 = {{false,true,false,false}, {false,false,false,false}, {false,false,true,false}, {true,false,true,false}};
        expectedGrid2.setBooleans(exprectedValue2);
        
        grid.incrementGeneration(1);
        assertArrayEquals(expectedGrid2.getBooleans(), grid.getBooleans());
    }