Here are the test files and correct output from WordCount.
File | Description | Expected Output |
---|---|---|
emptyfile | Empty file | 0 0 0 emptyfile |
blankfile | Spaces and newline | 3 0 6 blankfile |
oneline | Text on one line | 1 4 22 oneline |
Quotes.txt | Programming wisdom | 21 80 521 Quotes.txt |
Alice.txt | Long text | 1207 9660 52540 Alice.txt |
nonexistent | Non-existent file | nonexistent does not exist. |
The message for non-existent file may use different wording, as long the the message is accurate.
See Lab9-Feedback for additional feedback on Lab9.