def test_finds_best_calorie_limited_recipe(self): ingredients = [self.ing1, self.ing2] recipe, score = find_best_recipe(ingredients, calorie_target=500) self.assertEqual(score, 57600000)
def test_finds_best_recipe(self): ingredients = [self.ing1, self.ing2] recipe, score = find_best_recipe(ingredients) self.assertEqual(score, 62842880)