(y, x, get_cell, set_cell)
| 132 | return state |
| 133 | |
| 134 | def step_cell(y, x, get_cell, set_cell): |
| 135 | state = get_cell(y, x) |
| 136 | neighbors = count_neighbors(y, x, get_cell) |
| 137 | next_state = game_logic(state, neighbors) |
| 138 | set_cell(y, x, next_state) |
| 139 | |
| 140 | def simulate_threaded(grid): |
| 141 | next_grid = LockingGrid(grid.height, grid.width) |
nothing calls this directly
no test coverage detected