public void CanSetMyIndex() { myGame game = new myGame(); int expected = 1; game.setIndex(1); Assert.AreEqual(expected, game.getIndex()); }
public void TestingTwoOrThreeLiveNeighborsLivesOn() { myGame game = new myGame(); Assert.AreEqual(true, game.caseOne(0, 1)); }
public void TestingLiveCellWithThreeOrMoreNeighborsDies() { myGame game = new myGame(); Assert.AreEqual(true, game.caseOne(1, 2)); }
public void TestingLessThanTwoNeighborsDies() { myGame game = new myGame(); Assert.AreEqual(false, game.caseOne(0, 0)); }
public void TestingDeadCellExactlyThreeLiveNeighborsLives() { myGame game = new myGame(); Assert.AreEqual(true, game.caseOne(1, 0)); }
public void LivesOnToNextGeneration() { myGame game = new myGame(); Assert.AreEqual(true, game.caseOne(1, 1)); }
public void CreateAnInstanceOfGameClass() { myGame game = new myGame(); Assert.IsNotNull(game); }
public void CaseOneCellTouchesTwoLiveCells() { myGame game = new myGame(); Assert.AreEqual(false, game.caseOne(0,0)); }
public void CanAccessMyIndex() { myGame game = new myGame(); int expected = 0; Assert.AreEqual(expected, game.getIndex()); }