def test_should_buy_10_more_maxibons_if_there_are_less_than_2_in_the_fridge_when_grabbing_maxibons_in_group( developers): office = KarumiHQs() initial_maxibons = office.maxibonsLeft() office.openFridge(developers) expected_maxibons = calculate_maxibons_left(initial_maxibons, developers) assert office.maxibonsLeft() == expected_maxibons
def test_should_always_has_more_than_two_maxibons_in_the_fridge(developer): office = KarumiHQs() office.openFridge(developer) assert office.maxibonsLeft() >= 2
def test_should_always_has_more_than_two_maxibons_in_the_fridge_even_if_some_karumies_grab_maxibons_in_group( developers): office = KarumiHQs() office.openFridge(developers) assert office.maxibonsLeft() > 2
def test_should_start_the_day_with_10_maxibons(): office = KarumiHQs() assert office.maxibonsLeft() == 10