deliverable: benchmark programsEach project group must produce a small JOOS program, i.e. a collection of classes and a
Your program should be an application (i.e. it has a main method), and it
should take input from stdin and write output to stdout. It should be
possible to put the input in a file called
You should also be able to run the program capturing the expected output
in a file called
Your program should be deterministic (i.e. it must always produce exactly the same output, given the same input). This is so we can automatically run the benchmarks and test the output against an expected output.
Your test program should be compilable with both javac and joosc. If your
program consists for files
These programs will be the benchmarks for the peephole contest.
For McGill StudentsYou should hand in your assignment by making a jar file with all of the files which comprise your benchmark, a README file describing your benchmark, a test input file called
If your group number is XX, then put all of your files in a directory
called XXBenchmark. Change directories so that you are in the directory
containing the XXBenchmark directory. Create a jar file using the
A hard copy, clearly printed and labeled with your group number should be handed in at the beginning of class.