def test_cell_can_be_set_dead_and_retrieved_if_never_set_living(self): world = World() world.set_dead_at(self.location) self.assertIsInstance(world.get_cell_at(self.location), Cell)
def test_a_cell_can_be_set_dead_at_location_if_never_set_living(self): world = World() world.set_dead_at(self.location) self.assertFalse(world.is_alive_at(self.location))