def test_grow(self): lowland = Lowland() lowland.available_fodder = 3 assert lowland.get_fodder() == 3 lowland.fodder_regrow() assert lowland.get_fodder() == 800
def test_init(self): lowland = Lowland() assert type(lowland.present_herbivores) is list assert type(lowland.present_carnivores) is list assert lowland.get_fodder() == 800