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