public void LifeCycleGetNeighborCellCountTest() { List<Cell> getNeighborCellCountCells = new List<Cell>(); getNeighborCellCountCells.Add(new Cell(2, 1)); getNeighborCellCountCells.Add(new Cell(2, 2)); getNeighborCellCountCells.Add(new Cell(2, 3)); LifeCycle lifeCycle = new LifeCycle(getNeighborCellCountCells); List<Cell> getNeighborCellsTestCells = lifeCycle.getNeighborCells(new Cell(1, 1)); Assert.IsTrue(lifeCycle.getNeighborCellCount(getNeighborCellsTestCells) == 2); getNeighborCellsTestCells.RemoveAt(0); Assert.IsFalse(lifeCycle.getNeighborCellCount(getNeighborCellsTestCells) == 2); }