Basic tests: total 55% using driver files Erast.java and Text.java (modified from original version) 1. Erast with magic number 20: 10% Erast with magic number 500: 15% exit properly (all threads exit cleanly): 5% 2. Text: 20% exit properly: 5% Advanced tests: total 35% using driver files Flip.java and Text2.java, and another filter in file ChangeCase.java 1. Flip text filters: StringMatcher + Translate: 15% 2. Add a filter into the pipeline: Translate + ChangeCase + StringMatcher: 20% The compute thread ChangeCase changes an input character to uppercase if it's in lowercase; otherwise, changes it to uppercase. Text.java is the modified Text test driver which has a new dictionary. testinout1.txt is the text input file. ChangeCase.java is the compute thread filter that changes case from upper to lower or vice versa. Instructions for testing: 1. Erast 20 and Erast 500: Use the Erast test driver to do both tests. 2. Text: Use the command: java Text Tristan < testinput1.txt The result should be: ------------------------- ta:Tristan ------------------------- 3. Flip: Use the command: java Flip 64328 < testinput1.txt The result should be: ------------------------- ta:Tristan ------------------------- 4. 3 Filters: Use the command: java Text2 TA < testinput1.txt The result should be: ------------------------- TA:tRISTAN ATA:SATANC -------------------------