Пример #1
0
 public bool SpawnsInGenerationReturnsTrueForOnly3LiveNeighbors(int neighbors)
 {
     Cell cell = new Cell(LifeStates.DEAD, 0, 0);
     cell.LiveNeighbors = neighbors;
     return cell.SpawnsInGeneration();
 }