src/test/java/GameGridTest.java
/**
     * Rule 3 Tests
     *   3. Any live cell with two or three live neighbours lives on to the next generation.
     */
Rule 3 Tests
3. Any live cell with two or three live neighbours lives on to the next generation.
Rule 3 Tests 3 . Any live cell with two or three live neighbours lives on to the next generation .
@Test
    public void liveCellTwoOrThreeLiveNeighbors() {
        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 liveCellTwoOrThreeLiveNeighbors ( ) { final String inputGrid = "***" + GameOfLife . LF + "*.*" + GameOfLife . LF + "***" ; final String expectedResult = "*.*" + GameOfLife . LF + "..." + GameOfLife . LF + "*.*" ; testGameGrid ( TEST_3X3_GAME_GRID_HEADER + inputGrid , expectedResult ) ; }
Rule 3 Tests
   3.
Rule 3 Tests 3 .