1. TESTING COMMAND LINE OPTIONS S01. ezpay's use of input file a. with unnamed input file tc01: ezpay b. with named input file tc02: ezpay myfile.in S02. ezpay's use of output file a. with unnamed output file (reuse tc01) tc01: ezpay b. with named input file tc03: ezpay myfile.in myfile.out S03. ezpay's use of --help flag tc04: ezpay --help > actual.output S04. ezpay's use of -v flag tc05: ezpay --v > actual.output 2. TESTING FORMATS OF INPUT/OUTPUT FILE S05. correctly formatted input file tc06: ken anderson 10.05 1 2 3 4 5 S06. correctly formatted output file a. without errors tc07: ken anderson 10.05 1 2 3 4 5 b. with errors tc08: ken 10.05 1 2 3 4 5 3. Detecting Errors S07. testing for format errors a. missing fields (reuse tc08) tc08: ken 10.05 1 2 3 4 5 b. extra fields tc09: ken mark anderson 10.05 1 2 3 4 5 c. fields in wrong place tc10: 10.05 ken anderson 1 2 3 4 5 d. illegal characters tc11: ken& anderson 10.05 1 2 3 4 5 e. too long first/last name tc12: areallyreallylongname anderson 10.05 1 2 3 4 5 f. non-integer hour value tc13: ken anderson 10.05 1.5 2 3 4 5 g. blank lines tc14: ken anderson 10.05 1 2 3 4 5 mark ringer 30.40 7 7 7 7 7 S08. testing for data error a. non-decimal wage (.XXX) tc15: ken anderson 10.086 1 2 3 4 5 b. negative wage : tc16: ken anderson -23.40 1 2 3 4 5 c. hour < 0 or hour > 24 : tc17: ken anderson 10.05 36 2 3 4 5 S09. testing for duplicate error a. input file with employee name appearing more than once tc18: ken anderson 1.2 1 2 3 4 5 ken anderson 1.2 1 2 3 4 5 b. input file with employee name > 1 but different case tc19: ken anderson 1.2 1 2 3 4 5 KeN andersON 1.2 1 2 3 4 5 4. Calculations S10. calculate total individual hours tc20: ken anderson 10.00 8 8 8 8 8 leysia palen 20.50 8 8 8 8 8 S11. calculate correct individual payment (reuse tc20) tc20: ken anderson 10.00 8 8 8 8 8 leysia palen 20.50 8 8 8 8 8 S12. calculate total hours and payment (reuse tc20) tc20: ken anderson 10.00 8 8 8 8 8 leysia palen 20.50 8 8 8 8 8 S13. calculate overtime pay tc21: ken anderson 10.00 9 9 9 9 9 S14. test rounding tc22: ken anderson 74.25 10 10 10 10 17 5. Sorting S15. testing for names properly sorted by last and then first tc23: leysia palen 20.50 8 8 8 8 8 ken anderson 10.00 8 8 8 8 8 S16. testing for case insensitive sorting tc24: ken andrews 20.50 8 8 8 8 8 kEn aNdERsoN 10.00 8 8 8 8 8 6. FAULT TOLERANCE s17. input in which error lines appear before correct lines tc25: tom 20.34 1 2 3 4 5 leysia palen 20.50 8 8 8 8 8 ken anderson 10.00 8 8 8 8 8 UNTESTABLE: 1 point each for any one of the following a. testing for non-existent, unreadable, or empty input file b. testing for nonwriteable output file c. testing for ezpay's handling of more than three command line arguments. d. testing for ezpay's processing of --help flag with other command flags e. providing an input line that causes numbers wider than fields 2 and 3 of ezpay's output file to be created. f. testing the sorting of names, where names have numbers in them, e.g., ken23 7anderson