public void TestLiveCellWith4NeighborsDiesInNextGeneration() { ICell cell = new LiveCell(); cell = cell.NextGeneration(4); Assert.True(cell is DeadCell); }
public void TestLiveCellWith3NeighborsLivesInNextGeneration() { ICell cell = new LiveCell(); cell = cell.NextGeneration(3); Assert.True(cell is LiveCell); }