(self)
| 66 | self.rows[y % self.height][x % self.width] = state |
| 67 | |
| 68 | def __str__(self): |
| 69 | output = "" |
| 70 | for row in self.rows: |
| 71 | for cell in row: |
| 72 | output += cell |
| 73 | output += "\n" |
| 74 | return output |
| 75 | |
| 76 | |
| 77 | def count_neighbors(y, x, get_cell): |
nothing calls this directly
no outgoing calls
no test coverage detected