public void LifeCycleGetNeighborCellTest()
        {
            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(getNeighborCellsTestCells.Count == 8);

            Assert.IsTrue(lifeCycle.checkCellCollectionForCell(getNeighborCellsTestCells, new Cell(2, 2)));
            Assert.IsTrue(lifeCycle.checkCellCollectionForCell(getNeighborCellsTestCells, new Cell(2, 1)));
            Assert.IsTrue(lifeCycle.checkCellCollectionForCell(getNeighborCellsTestCells, new Cell(2, 0)));

            Assert.IsTrue(lifeCycle.checkCellCollectionForCell(getNeighborCellsTestCells, new Cell(1, 2)));
            Assert.IsTrue(lifeCycle.checkCellCollectionForCell(getNeighborCellsTestCells, new Cell(1, 2)));

            Assert.IsTrue(lifeCycle.checkCellCollectionForCell(getNeighborCellsTestCells, new Cell(0, 2)));
            Assert.IsTrue(lifeCycle.checkCellCollectionForCell(getNeighborCellsTestCells, new Cell(0, 1)));
            Assert.IsTrue(lifeCycle.checkCellCollectionForCell(getNeighborCellsTestCells, new Cell(0, 0)));

            Assert.IsFalse(lifeCycle.checkCellCollectionForCell(getNeighborCellsTestCells, new Cell(1, 1)));
        }
        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);
        }