public void Overpopulation(int aliveNeighbours) { var result = Rules.ShouldLive(aliveNeighbours); Assert.IsFalse(result); }
public void Resurrection(int aliveNeighbours) { var result = Rules.ShouldZombiefy(aliveNeighbours); Assert.IsTrue(result); }
public void Survive(int aliveNeighbours) { var result = Rules.ShouldLive(aliveNeighbours); Assert.IsTrue(result); }