Пример #1
0
 public function testCellWithFourNighbours()
 {
     $cell = new Cell();
     $cell->livingStatus(true);
     $cell->addNighbours(4);
     $newCell = $cell->nextGen();
     $this->assertFalse($cell->isAlive(), 'This test is okay');
 }