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

8 lines
370 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', 4.0), ('pears',3.0), ('limes',2.0) ])"