def test_combine_all_tests(): assert cake_heist_calculator(raw_cakes_6, capacity) == {(60, 50): 2}
def test_optimize_weight(): assert cake_heist_calculator(raw_cakes_5, capacity) == {(100, 60): 1}
def test_find_highest_value_combination(): assert cake_heist_calculator(raw_cakes_4, capacity) == {(60, 50): 2}
def test_exclude_cakes_heavier_than_bag_capacity(): assert cake_heist_calculator(raw_cakes_3, capacity) == {(60, 50): 2}
def test_exclude_cakes_with_zero_weight(): assert cake_heist_calculator(raw_cakes_2, capacity) == {(100, 60): 1}
def test_one_cake(): assert cake_heist_calculator(raw_cakes_1, capacity) == {(100, 60): 1}