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