public void CanApplyKillRules()
 {
     List<Cell> alive = new List<Cell>();
     alive.Add(new Cell ( 1, 2 ));
     alive.Add(new Cell ( 2, 2 ));
     alive.Add(new Cell ( 2, 3 ));
     alive.Add(new Cell ( 4, 3 ));
     GameBoard board = new GameBoard(alive);
     Cell cellToKill = new Cell(1, 2);
     board.ApplyKillRules(cellToKill, 4);
     Assert.IsTrue(cellToKill.MarkForChange);
 }
 public void CellMarkedForChangeIsRemoved()
 {
     List<Cell> alive = new List<Cell>();
     alive.Add(new Cell(1, 2));
     alive.Add(new Cell(2, 2));
     alive.Add(new Cell(2, 3));
     alive.Add(new Cell(4, 3));
     GameBoard board = new GameBoard(alive);
     board.ApplyKillRules(board.AliveCells[0], 4);
     board.RemoveCellsThatDied();
     Assert.AreEqual(3, board.AliveCells.Count);
     //board.AliveCells = board.RemoveCellsThatDied();
     //Assert.AreEqual(3, board.AliveCells.Count);
 }