*/
public class PseudoWordReporterTest {
@Test public void testUpdateAssignment() {
OutputStream stream = new ByteArrayOutputStream();
AssignmentReporter reporter = new PseudoWordReporter(stream);
reporter.updateAssignment("catdog", "dog", 5);
reporter.updateAssignment("catdog", "dog", 2);
reporter.updateAssignment("catdog", "dog", 5);
reporter.updateAssignment("catdog", "cat", 1);
reporter.updateAssignment("catdog", "cat", 1);
reporter.updateAssignment("catdog", "cat", 5);
reporter.finalizeReport();
String computed = stream.toString();
System.out.println(computed);
int[] dogCounts = new int[] {0, 0, 1, 0, 0, 2};
int[] catCounts = new int[] {0, 2, 0, 0, 0, 1};