def test_live(): alive_cell = (1, 4) seed = [(6, 7)] gof = GameOfLife(seed=seed) gof.live(alive_cell) assert alive_cell in gof.state