diff options
| author | JordanHT-OIT <[email protected]> | 2021-12-08 20:50:30 -0800 |
|---|---|---|
| committer | JordanHT-OIT <[email protected]> | 2021-12-08 20:50:30 -0800 |
| commit | 74812bdfd95a4c3ef6d58b23812b228792e23a21 (patch) | |
| tree | 3895b326d1faeba956bd604f35a76e9cb7e5288a /CST116F2021-Lab9/CONSOLE_OUTPUT.txt | |
| parent | Temporary commint to save progress (diff) | |
| download | cst116-lab9-jordanht-oit-74812bdfd95a4c3ef6d58b23812b228792e23a21.tar.xz cst116-lab9-jordanht-oit-74812bdfd95a4c3ef6d58b23812b228792e23a21.zip | |
Added testing documentation
Diffstat (limited to 'CST116F2021-Lab9/CONSOLE_OUTPUT.txt')
| -rw-r--r-- | CST116F2021-Lab9/CONSOLE_OUTPUT.txt | 320 |
1 files changed, 320 insertions, 0 deletions
diff --git a/CST116F2021-Lab9/CONSOLE_OUTPUT.txt b/CST116F2021-Lab9/CONSOLE_OUTPUT.txt new file mode 100644 index 0000000..71654fb --- /dev/null +++ b/CST116F2021-Lab9/CONSOLE_OUTPUT.txt @@ -0,0 +1,320 @@ +This file contains test information for this lab + +16a - 11.14 Programming Exercises #2: + +Enter name of data file: nope +Invalid file name +Enter name of data file: 1114_2_datafile +The smallest number in the file is: 23 +The largest number in the file is: 2021 +The file contents are: +23 33 44 120 234 340 501 530 567 2021 + +C:\Users\jorda\Source\Repos\cst116-lab9-JordanHT-OIT\x64\Debug\CST116F2021-Lab9.exe (process 17276) exited with code 0. +To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops. +Press any key to close this window . . . + + + +16a - 11.14 Programming Exercises #3 (NOTE: Most of the code is shared between #2 and #3): + +Enter name of data file: 1114_3_datafile + +1) He has a few screws loose. (26 chars) +2) Barking dogs and screaming toddlers have the unique ability to turn friendly neighbors into cranky enemies. (107 chars) +3) Mushrooms are a kind of fungus. (31 chars) +4) In that instant, everything changed. (36 chars) +5) The toddler's endless tantrum caused the entire plane anxiety. (62 chars) +6) He decided water-skiing on a frozen lake wasn't a good idea. (60 chars) +7) You have every right to be angry, but that doesn't give you the right to be mean. (81 chars) +8) As the years pass by, we all know owners look more and more like their dogs. (76 chars) +9) Tom didn't sound as if he was in trouble. (41 chars) +10) The door slammed on the watermelon. (35 chars) + +C:\Users\jorda\Source\Repos\cst116-lab9-JordanHT-OIT\x64\Debug\CST116F2021-Lab9.exe (process 7140) exited with code 0. +To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops. +Press any key to close this window . . . + + + +16a - 11.14 Programming Exercises #4: + +---[Test 1]--- + +Personnel manifest explorer MK1 +Enter desired operation: +1) Personnel lookup +2) Add entry +3) Edit entry +4) Display all records +5) Exit program +1 +Chose search method: +1) First name and last name +2) Phone number +3) Cancel +1 +Enter the first name (case sensitive): Ray +Enter the last name (case sensitive): Mccartney +Match found at index 11: +Ray Mccartney 425-788-2340 2002-09-03 + +Enter desired operation: +1) Personnel lookup +2) Add entry +3) Edit entry +4) Display all records +5) Exit program +7 +Invalid input; enter again: 5 + +C:\Users\jorda\Source\Repos\cst116-lab9-JordanHT-OIT\x64\Debug\CST116F2021-Lab9.exe (process 15476) exited with code 0. +To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops. +Press any key to close this window . . . + + +---[Test 2]--- + +Personnel manifest explorer MK1 +Enter desired operation: +1) Personnel lookup +2) Add entry +3) Edit entry +4) Display all records +5) Exit program +1 +Chose search method: +1) First name and last name +2) Phone number +3) Cancel +2 +Enter the phone number in the format 012-345-6789: 706-820-0848 +Match found at index 12: +Jannat Kline 706-820-0848 1994-04-01 + +Enter desired operation: +1) Personnel lookup +2) Add entry +3) Edit entry +4) Display all records +5) Exit program +3 +Enter 1 if index is known, or 2 to find a person: 1 +Enter index: 12 +Select element to change: +1) First name +2) Last name +3) Phone number +4) Date of birth +5) Exit +3 +Enter the phone number (format: 012-345-6789): 012-345-6789 +Select element to change: +1) First name +2) Last name +3) Phone number +4) Date of birth +5) Exit +1 +Enter the first name: Test +Select element to change: +1) First name +2) Last name +3) Phone number +4) Date of birth +5) Exit +5 +Enter desired operation: +1) Personnel lookup +2) Add entry +3) Edit entry +4) Display all records +5) Exit program +1 +Chose search method: +1) First name and last name +2) Phone number +3) Cancel +1 +Enter the first name (case sensitive): Test +Enter the last name (case sensitive): Kline +Match found at index 12: +Test Kline 012-345-6789 1994-04-01 + +Enter desired operation: +1) Personnel lookup +2) Add entry +3) Edit entry +4) Display all records +5) Exit program +5 + +C:\Users\jorda\Source\Repos\cst116-lab9-JordanHT-OIT\x64\Debug\CST116F2021-Lab9.exe (process 9352) exited with code 0. +To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops. +Press any key to close this window . . . + + +---[Test 3]--- + +Personnel manifest explorer MK1 +Enter desired operation: +1) Personnel lookup +2) Add entry +3) Edit entry +4) Display all records +5) Exit program +4 + +First name Last name Phone number Date of birth +════════════════════════════════════════════════════════════════════════════════════════════════════ +Dionne Arroyo 717-417-5576 1998-02-19 +Benjamin Bullock 870-533-4082 1985-11-09 +Aarav Corbett 586-468-0823 1991-12-14 +Aniyah Davey 620-947-3956 2001-03-08 +Julia Galloway 931-729-9938 1999-06-18 +Jannat Kline 706-820-0848 1994-04-01 +Paisley Mccall 207-865-4000 1970-03-01 +Inigo Massey 253-835-0873 1983-09-28 +Ray Mccartney 425-788-2340 2002-09-03 +Brady Merritt 871-869-7911 1993-09-13 +Odin Obrien 321-783-2687 1983-01-19 +Romany Porter 225-261-7520 1966-05-20 +Aaliyah Pittman 979-258-9565 1980-12-26 +Kaidan Smith 423-842-7402 1987-04-24 +Codey Whyte 615-672-4849 1990-06-10 + +Enter desired operation: +1) Personnel lookup +2) Add entry +3) Edit entry +4) Display all records +5) Exit program +3 +Enter 1 if index is known, or 2 to find a person: 2 +Chose search method: +1) First name and last name +2) Phone number +3) Cancel +1 +Enter the first name (case sensitive): Odin +Enter the last name (case sensitive): Obrien +Match found at index 4:Select element to change: +1) First name +2) Last name +3) Phone number +4) Date of birth +5) Exit +2 +Enter the last name: Aleph +Select element to change: +1) First name +2) Last name +3) Phone number +4) Date of birth +5) Exit +5 +Enter desired operation: +1) Personnel lookup +2) Add entry +3) Edit entry +4) Display all records +5) Exit program +4 + +First name Last name Phone number Date of birth +════════════════════════════════════════════════════════════════════════════════════════════════════ +Odin Aleph 321-783-2687 1983-01-19 +Dionne Arroyo 717-417-5576 1998-02-19 +Benjamin Bullock 870-533-4082 1985-11-09 +Aarav Corbett 586-468-0823 1991-12-14 +Aniyah Davey 620-947-3956 2001-03-08 +Julia Galloway 931-729-9938 1999-06-18 +Jannat Kline 706-820-0848 1994-04-01 +Paisley Mccall 207-865-4000 1970-03-01 +Inigo Massey 253-835-0873 1983-09-28 +Ray Mccartney 425-788-2340 2002-09-03 +Brady Merritt 871-869-7911 1993-09-13 +Romany Porter 225-261-7520 1966-05-20 +Aaliyah Pittman 979-258-9565 1980-12-26 +Kaidan Smith 423-842-7402 1987-04-24 +Codey Whyte 615-672-4849 1990-06-10 + +Enter desired operation: +1) Personnel lookup +2) Add entry +3) Edit entry +4) Display all records +5) Exit program +5 + +C:\Users\jorda\Source\Repos\cst116-lab9-JordanHT-OIT\x64\Debug\CST116F2021-Lab9.exe (process 7504) exited with code 0. +To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops. +Press any key to close this window . . . + + +---[Test 4]--- + +Personnel manifest explorer MK1 +Enter desired operation: +1) Personnel lookup +2) Add entry +3) Edit entry +4) Display all records +5) Exit program +2 +Enter the first name: Test1 +Enter the last name: Alpha +Enter the phone number (format: 012-345-6789): 111-111-1111 +Enter the date of birth (format: yyyy-mm-dd): 1111-11-11 + +Enter desired operation: +1) Personnel lookup +2) Add entry +3) Edit entry +4) Display all records +5) Exit program +2 +Enter the first name: Test2 +Enter the last name: Zeta +Enter the phone number (format: 012-345-6789): 222-222-2222 +Enter the date of birth (format: yyyy-mm-dd): 2222-22-22 + +Enter desired operation: +1) Personnel lookup +2) Add entry +3) Edit entry +4) Display all records +5) Exit program +4 + +First name Last name Phone number Date of birth +════════════════════════════════════════════════════════════════════════════════════════════════════ +Dionne Arroyo 717-417-5576 1998-02-19 +Test1 Alpha 111-111-1111 1111-11-11 +Benjamin Bullock 870-533-4082 1985-11-09 +Aarav Corbett 586-468-0823 1991-12-14 +Aniyah Davey 620-947-3956 2001-03-08 +Julia Galloway 931-729-9938 1999-06-18 +Jannat Kline 706-820-0848 1994-04-01 +Paisley Mccall 207-865-4000 1970-03-01 +Inigo Massey 253-835-0873 1983-09-28 +Ray Mccartney 425-788-2340 2002-09-03 +Brady Merritt 871-869-7911 1993-09-13 +Odin Obrien 321-783-2687 1983-01-19 +Romany Porter 225-261-7520 1966-05-20 +Aaliyah Pittman 979-258-9565 1980-12-26 +Kaidan Smith 423-842-7402 1987-04-24 +Codey Whyte 615-672-4849 1990-06-10 +Test2 Zeta 222-222-2222 2222-22-22 + +Enter desired operation: +1) Personnel lookup +2) Add entry +3) Edit entry +4) Display all records +5) Exit program +5 + +C:\Users\jorda\Source\Repos\cst116-lab9-JordanHT-OIT\x64\Debug\CST116F2021-Lab9.exe (process 12408) exited with code 0. +To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops. +Press any key to close this window . . .
\ No newline at end of file |