Lab 3 2014

From 6.034 Wiki

(Difference between revisions)
Jump to: navigation, search
Line 306: Line 306:
The original setting was set to allow you play the game earlier on in the lab, but become unnecessary and incorrect once you've implemented your version of <tt>better_evaluate</tt>.   
The original setting was set to allow you play the game earlier on in the lab, but become unnecessary and incorrect once you've implemented your version of <tt>better_evaluate</tt>.   
 +
 +
To save time, change the if True to if False in tests.py:307.  Setting this if-guard to false will skip the actual game test which takes a few minutes to finish.    Be sure to remember to turn it back on when you have passed all your tests.
 +
 +
<pre>
 +
# Set this if-guard to False temporarily disable this test.
 +
if True:
 +
    make_test(type = 'MULTIFUNCTION',
 +
              getargs = run_test_game_1_getargs,
 +
              testanswer = run_test_game_1_testanswer,
 +
              expected_val = "You must win at least 2 more games than you lose to pass this test",
 +
              name = 'run_test_game'
 +
              )
 +
</pre>
== Survey ==
== Survey ==

Revision as of 23:44, 8 October 2010


This problem set is due Friday, October 22th at 11:59 PM. If you have questions about it, ask the list 6034tas@csail.mit.edu.

Personal tools