public void bigArray() { RealGameOfLife game = new RealGameOfLife(11); bool actual = game.cellStatus(10, 10); bool expected = false; Assert.AreEqual(actual, expected); }
public void TickOnSingleLiveCellKillsCell() { RealGameOfLife game = new RealGameOfLife(8); game.Flipper(0, 0); game.Tick(); Assert.IsFalse(game.cellStatus(0,0)); }
public void flipArray() { RealGameOfLife game = new RealGameOfLife(11); bool original = game.cellStatus(10, 10); game.Flipper(10, 10); bool newValue = game.cellStatus(10, 10); Assert.AreNotEqual(original, newValue); }