public bool SurvivesGenerationReturnsTrueForOnly2Or3LiveNeighbors(int neighbors) { Cell cell = new Cell(LifeStates.ALIVE, 0, 0); cell.LiveNeighbors = neighbors; return cell.SurvivesGeneration(); }
public bool SurvivesGenerationReturnsTrueForOnly2Or3LiveNeighbors(int neighbors) { Cell cell = new Cell(LifeStates.ALIVE, 0, 0); cell.LiveNeighbors = neighbors; return cell.SurvivesGeneration(); }