public void Dead_cell_with_3_neighbours_is_born() { // Arrange var cell = new DeadCell(); // Act var newCell = cell.Evolve(3); // Assert newCell.ShouldBeOfType <LivingCell>(); }
public void Dead_cell_with_2_neighbours_stays_dead() { // Arrange var cell = new DeadCell(); // Act var newCell = cell.Evolve(2); // Assert newCell.ShouldBeOfType <DeadCell>(); }