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

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

        Grille originalGrid = new Grille(x, y, rule);
        originalGrid.setBooleans(originalValue);
        
        Grille expectedGrid = new Grille(x, y, rule);
        boolean[][] exprectedValue = {{true, true, false}, {true, true, false}, {true, true, false}};
        expectedGrid.setBooleans(exprectedValue);

        grid.incrementGeneration(0.5);
        assertArrayEquals(grid.getBooleans(), originalGrid.getBooleans());
        
        grid.incrementGeneration(0.5);

        assertArrayEquals(expectedGrid.getBooleans(), grid.getBooleans());
    }