Add code for tutorial.
This commit is contained in:
7
p0_tutorial/test_cases/q2/food_price1.test
Normal file
7
p0_tutorial/test_cases/q2/food_price1.test
Normal file
@@ -0,0 +1,7 @@
|
||||
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) ])"
|
||||
Reference in New Issue
Block a user