Пример #1
0
 public void TestingTwoOrThreeLiveNeighborsLivesOn()
 {
     myGame game = new myGame();
     Assert.AreEqual(true, game.caseOne(0, 1));
 }
Пример #2
0
 public void TestingLiveCellWithThreeOrMoreNeighborsDies()
 {
     myGame game = new myGame();
     Assert.AreEqual(true, game.caseOne(1, 2));
 }
Пример #3
0
 public void TestingLessThanTwoNeighborsDies()
 {
     myGame game = new myGame();
     Assert.AreEqual(false, game.caseOne(0, 0));
 }
Пример #4
0
 public void TestingDeadCellExactlyThreeLiveNeighborsLives()
 {
     myGame game = new myGame();
     Assert.AreEqual(true, game.caseOne(1, 0));
 }
Пример #5
0
 public void LivesOnToNextGeneration()
 {
     myGame game = new myGame();
     Assert.AreEqual(true, game.caseOne(1, 1));
 }
Пример #6
0
 public void CaseOneCellTouchesTwoLiveCells()
 {
     myGame game = new myGame();
     Assert.AreEqual(false, game.caseOne(0,0));
 }