...
Your solution will be graded using the textual interface. GUIs Graphical interfaces are notoriously difficult to test and all of the GUI graphical interface code is being provided as part of our support code anyway. Your correctness and testing scores (which each count 25% of your grade) will be based on how well your implementation of each command complies with the given specifications and on how well you demonstrate this compliance with test cases. You can test your DoCommandVisitor using the same approach
given in our TestSample LaundryTest.java
class. These tests use the simulate
method in Student
to drive the execution of
DoCommandVisitor
. If you write some utility methods fopr BiLists
you should separately test these methods. You are NOT responsible for testing any of our support code in laundry.zip
including the {{BiList
} class class.
A major portion of your grade (35%) will be based on your program style. If you write your code in the OO style practiced in this course, you should do very well on this aspect of the assignment. The remaining 15% of your grade is based on your documentation, particularly your javadoc
comments for classes and methods.
Form of Event Commands
Your program executes a loop that repeatedly reads input from an input "process" that returns Command
objects. The input process (provided by our supporting framework) reads a series of event description commands, one to a line, either from the console or from a file. The input process converts a stream of characters to Command
objects which are passed to your program.
...