public void DeadCellWithoutThreeLiveNeighborsBecomesLive() { GameBoard.GetNewCellState(false, 2).Should().BeFalse(); GameBoard.GetNewCellState(false, 4).Should().BeFalse(); }
public void DeadCellWithThreeLiveNeighborsBecomesLive() { GameBoard.GetNewCellState(false, 3).Should().BeTrue(); }
public void LiveCellWithTwoOrThreeLiveNeighborsLives() { GameBoard.GetNewCellState(true, 2).Should().BeTrue(); GameBoard.GetNewCellState(true, 3).Should().BeTrue(); }
public void LiveCellWithMoreThanThreeLiveNeighborsDies() { GameBoard.GetNewCellState(true, 4).Should().BeFalse(); }
public void LiveCellWithFewerThanTwoLiveNeighborsDies() { GameBoard.GetNewCellState(true, 0).Should().BeFalse(); GameBoard.GetNewCellState(true, 1).Should().BeFalse(); }