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_add_extra_upkeep(): lab = Laboratory("apprentice lab") lab.add_extra_upkeep(1) assert lab.extra_upkeep == 1 lab.add_extra_upkeep(4) assert lab.extra_upkeep == 5