Files
PPCA-AIPacMan-2024/tutorial/test_cases/q2/food_price3.test
2024-06-23 00:05:13 +08:00

8 lines
373 B
Plaintext

class: "EvalTest"
success: "buyLotsOfFruit correctly computes the cost of the order"
failure: "buyLotsOfFruit must compute the correct cost of the order"
# A python expression to be evaluated. This expression must return the
# same result for the student and instructor's code.
test: "buyLotsOfFruit.buyLotsOfFruit([ ('apples', 1.25), ('pears',1.50), ('limes',1.75) ])"