public void TestDeadCellWithExactly5NeighborsStaysDeadInNextGeneration() { ICell cell = new DeadCell(); cell = cell.NextGeneration(3); Assert.True(cell is LiveCell); }
public void TestDeadCellWith0NeighborsStaysDeadInNextGeneration() { ICell cell = new DeadCell(); cell = cell.NextGeneration(0); Assert.True(cell is DeadCell); }