src/test/java/GameGridTest.java
/**
     * Rule 2 Tests
     *   2. Any live cell with more than three live neighbours dies, as if by overcrowding.
     */
Rule 2 Tests
2. Any live cell with more than three live neighbours dies, as if by overcrowding.
Rule 2 Tests 2 . Any live cell with more than three live neighbours dies as if by overcrowding .
@Test
    public void liveCellMoreThanThreeLiveNeighbors() {
        final String inputGrid =
                "***" + GameOfLife.LF
              + "***" + GameOfLife.LF
              + "***"
              ;
        final String expectedResult =
                "*.*" + GameOfLife.LF
              + "..." + GameOfLife.LF
              + "*.*"
              ;
        testGameGrid(TEST_3X3_GAME_GRID_HEADER + inputGrid, expectedResult);
    }
@ Test public void liveCellMoreThanThreeLiveNeighbors ( ) { final String inputGrid = "***" + GameOfLife . LF + "***" + GameOfLife . LF + "***" ; final String expectedResult = "*.*" + GameOfLife . LF + "..." + GameOfLife . LF + "*.*" ; testGameGrid ( TEST_3X3_GAME_GRID_HEADER + inputGrid , expectedResult ) ; }
Rule 2 Tests
   2.
Rule 2 Tests 2 .