def test_get_neighbours_count(neighbours, count): alive_cell = (3, 3) seed = [alive_cell] + neighbours gof = GameOfLife(seed=seed) assert gof.get_neighbours_count(alive_cell) == count