public void CellAnimationTest() { // Given var cell = new DeadCell(3); // When var nextGenDeath = cell.WillThisCellSurvive(); // Then: Assert.IsFalse(nextGenDeath, "Cell should be set to live but is still dead"); }
public void DeadCellStaysDeadTest([Values(0, 1, 2, 4, 5, 6, 7, 8)] int neighborCount) { // Given var cell = new DeadCell(neighborCount); // When var nextGenDeath = cell.WillThisCellSurvive(); // Then Assert.IsTrue(nextGenDeath, "Cell should have died, but lived"); }