From: Michelangelo Grigni (mic@mathcs.emory.edu)
Date: Sun Feb 19 2012 - 16:17:43 EST
I enabled the turnin script for hw2, please try it out. Assuming you are in your cs323/hw2 directory with your PRedBlackBST.java file, try this command: ~cs323000/turnin It copies your file, recompiles, runs the driver, and looks at the output. It won't accept code that does not compile, but it will accept (with warnings) if your output looks wrong. Here is a successful turnin: mic@lab0z:~$ cd cs323/hw2 mic@lab0z:~/cs323/hw2$ ~cs323000/turnin Guessing hw2 ... Good, mic is an expected userid checking PRedBlackBST.java ... Checking honor statement in PRedBlackBST.java ... ok *** Starting test: compile + javac Driver.java PBST.java PRedBlackBST.java Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. *** compile done *** Starting test: features Looks like you are redefining iterator(), if you want the extra credit for trying StackIterator, remember to notify mic@mathcs.emory.edu *** features done *** Starting test: run java -ea Driver > output.txt *** run done *** Starting test: checkoutput Node usage in Driver output (good numbers are about 75, 1050): Created 72 nodes so far. Created 1047 nodes in Phase 2. Ignoring those two lines, the rest of your Driver output should be identical to /home/cs323000/share/hw2/expect.txt Comparing ... Good, your output is as expected (ignoring node counts) *** checkoutput done Your turnin of hw2 is completed. mic@lab0z:~/cs323/hw2$
This archive was generated by hypermail 2.1.4 : Wed Apr 04 2012 - 17:34:17 EDT