def it_correctly_calculates_annual_points(): default_lab = Laboratory("apprentice lab") demo = demo_lab() assert default_lab.points == 10 assert demo.points == 45.0 default_lab.increase_size() assert default_lab.points == 15 default_lab.add_extra_upkeep() assert default_lab.points == 30
def it_can_increase_size(): lab = Laboratory("apprentice lab") lab.increase_size() assert lab.size == 1 lab.increase_size(3) assert lab.size == 4