Esempio n. 1
0
 public void TestingTwoOrThreeLiveNeighborsLivesOn()
 {
     myGame game = new myGame();
     Assert.AreEqual(true, game.caseOne(0, 1));
 }
Esempio n. 2
0
 public void TestingLiveCellWithThreeOrMoreNeighborsDies()
 {
     myGame game = new myGame();
     Assert.AreEqual(true, game.caseOne(1, 2));
 }
Esempio n. 3
0
 public void TestingLessThanTwoNeighborsDies()
 {
     myGame game = new myGame();
     Assert.AreEqual(false, game.caseOne(0, 0));
 }
Esempio n. 4
0
 public void TestingDeadCellExactlyThreeLiveNeighborsLives()
 {
     myGame game = new myGame();
     Assert.AreEqual(true, game.caseOne(1, 0));
 }
Esempio n. 5
0
 public void LivesOnToNextGeneration()
 {
     myGame game = new myGame();
     Assert.AreEqual(true, game.caseOne(1, 1));
 }
Esempio n. 6
0
 public void CaseOneCellTouchesTwoLiveCells()
 {
     myGame game = new myGame();
     Assert.AreEqual(false, game.caseOne(0,0));
 }