diff options
Diffstat (limited to 'Test Results.txt')
| -rw-r--r-- | Test Results.txt | 295 |
1 files changed, 295 insertions, 0 deletions
diff --git a/Test Results.txt b/Test Results.txt new file mode 100644 index 0000000..adc9356 --- /dev/null +++ b/Test Results.txt @@ -0,0 +1,295 @@ +See Test Plan.txt for input details. + +- - - Test 1-1: + +Plase enter the first matrix: +Input value for ROW 1 and COLOUMN 1: 0 + +Input value for ROW 1 and COLOUMN 2: 0 + +Input value for ROW 1 and COLOUMN 3: 0 + +Input value for ROW 2 and COLOUMN 1: 0 + +Input value for ROW 2 and COLOUMN 2: 0 + +Input value for ROW 2 and COLOUMN 3: 0 + +Input value for ROW 3 and COLOUMN 1: 0 + +Input value for ROW 3 and COLOUMN 2: 0 + +Input value for ROW 3 and COLOUMN 3: 0 + +Plase enter the second matrix: +Input value for ROW 1 and COLOUMN 1: 0 + +Input value for ROW 1 and COLOUMN 2: 0 + +Input value for ROW 1 and COLOUMN 3: 0 + +Input value for ROW 2 and COLOUMN 1: 0 + +Input value for ROW 2 and COLOUMN 2: 0 + +Input value for ROW 2 and COLOUMN 3: 0 + +Input value for ROW 3 and COLOUMN 1: 0 + +Input value for ROW 3 and COLOUMN 2: 0 + +Input value for ROW 3 and COLOUMN 3: 0 + +Enter desired operation: +1) Add the first matrix to the second +2) Multiply the second matrix by the first +3) Multiply the first matrix by the second +9 +Invalid entry, enter again:-34 +Invalid entry, enter again:f +Invalid entry, enter again: +sd +Invalid entry, enter again:1 +┌ ┐ ┌ ┐ ┌ ┐ +│ +0.00 +0.00 +0.00│ │ +0.00 +0.00 +0.00│ │ +0.00 +0.00 +0.00│ +│ +0.00 +0.00 +0.00│ + │ +0.00 +0.00 +0.00│ = │ +0.00 +0.00 +0.00│ +│ +0.00 +0.00 +0.00│ │ +0.00 +0.00 +0.00│ │ +0.00 +0.00 +0.00│ +└ ┘ └ ┘ └ ┘ + +C:\Users\jorda\source\repos\CST116_Project3\x64\Debug\CST116_Project3.exe (process 5820) 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 . . . + +- - -Result: Success; all invalid menu inputs were rejected + + +- - -Test 2-1: + +Plase enter the first matrix: +Input value for ROW 1 and COLOUMN 1: 5.69 + +Input value for ROW 1 and COLOUMN 2: -13.56 + +Input value for ROW 1 and COLOUMN 3: -21.22 + +Input value for ROW 2 and COLOUMN 1: 10.76 + +Input value for ROW 2 and COLOUMN 2: 19.66 + +Input value for ROW 2 and COLOUMN 3: 17.94 + +Input value for ROW 3 and COLOUMN 1: 19.44 + +Input value for ROW 3 and COLOUMN 2: -5.05 + +Input value for ROW 3 and COLOUMN 3: 12.52 + +Plase enter the second matrix: +Input value for ROW 1 and COLOUMN 1: -20.92 + +Input value for ROW 1 and COLOUMN 2: 19.92 + +Input value for ROW 1 and COLOUMN 3: 16.69 + +Input value for ROW 2 and COLOUMN 1: -2.49 + +Input value for ROW 2 and COLOUMN 2: -6.59 + +Input value for ROW 2 and COLOUMN 3: 11.94 + +Input value for ROW 3 and COLOUMN 1: 22.03 + +Input value for ROW 3 and COLOUMN 2: 13.18 + +Input value for ROW 3 and COLOUMN 3: 18.67 + +Enter desired operation: +1) Add the first matrix to the second +2) Multiply the second matrix by the first +3) Multiply the first matrix by the second +1 +┌ ┐ ┌ ┐ ┌ ┐ +│ +5.69 -13.56 -21.22│ │ -20.92 +19.92 +16.69│ │ -15.23 +6.36 -4.53│ +│ +10.76 +19.66 +17.94│ + │ -2.49 -6.59 +11.94│ = │ +8.27 +13.07 +29.88│ +│ +19.44 -5.05 +12.52│ │ +22.03 +13.18 +18.67│ │ +41.47 +8.13 +31.19│ +└ ┘ └ ┘ └ ┘ + +C:\Users\jorda\source\repos\CST116_Project3\x64\Debug\CST116_Project3.exe (process 7412) 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 . . . + +- - -Result: Success; the output array matches the ground truth + + +- - -Test 3-1: + +Plase enter the first matrix: +Input value for ROW 1 and COLOUMN 1: 5.69 + +Input value for ROW 1 and COLOUMN 2: -13.56 + +Input value for ROW 1 and COLOUMN 3: -21.22 + +Input value for ROW 2 and COLOUMN 1: 10.76 + +Input value for ROW 2 and COLOUMN 2: 19.66 + +Input value for ROW 2 and COLOUMN 3: 17.84 + +Input value for ROW 3 and COLOUMN 1: 19.44 + +Input value for ROW 3 and COLOUMN 2: -5.05 + +Input value for ROW 3 and COLOUMN 3: 12.52 + +Plase enter the second matrix: +Input value for ROW 1 and COLOUMN 1: -20.92 + +Input value for ROW 1 and COLOUMN 2: 19.92 + +Input value for ROW 1 and COLOUMN 3: 16.69 + +Input value for ROW 2 and COLOUMN 1: -2.49 + +Input value for ROW 2 and COLOUMN 2: -6.59 + +Input value for ROW 2 and COLOUMN 3: 11.94 + +Input value for ROW 3 and COLOUMN 1: 22.03 + +Input value for ROW 3 and COLOUMN 2: 13.18 + +Input value for ROW 3 and COLOUMN 3: 18.67 + +Enter desired operation: +1) Add the first matrix to the second +2) Multiply the second matrix by the first +3) Multiply the first matrix by the second +2 +┌ ┐ ┌ ┐ ┌ ┐ +│ +5.69 -13.56 -21.22│ │ -20.92 +19.92 +16.69│ │ -552.75 -76.97 -463.12│ +│ +10.76 +19.66 +17.84│ X │ -2.49 -6.59 +11.94│ = │ +118.96 +319.91 +747.40│ +│ +19.44 -5.05 +12.52│ │ +22.03 +13.18 +18.67│ │ -118.29 +585.54 +497.91│ +└ ┘ └ ┘ └ ┘ + +C:\Users\jorda\source\repos\CST116_Project3\x64\Debug\CST116_Project3.exe (process 11448) 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 . . . + +- - -Result: Success; the output array matches the ground truth within rounding error + + +- - -Test 3-2: + +Plase enter the first matrix: +Input value for ROW 1 and COLOUMN 1: -5 + +Input value for ROW 1 and COLOUMN 2: -7 + +Input value for ROW 1 and COLOUMN 3: 5 + +Input value for ROW 2 and COLOUMN 1: 0 + +Input value for ROW 2 and COLOUMN 2: 8 + +Input value for ROW 2 and COLOUMN 3: -7 + +Input value for ROW 3 and COLOUMN 1: 8 + +Input value for ROW 3 and COLOUMN 2: 0 + +Input value for ROW 3 and COLOUMN 3: 9 + +Plase enter the second matrix: +Input value for ROW 1 and COLOUMN 1: -5 + +Input value for ROW 1 and COLOUMN 2: 10 + +Input value for ROW 1 and COLOUMN 3: 1 + +Input value for ROW 2 and COLOUMN 1: -4 + +Input value for ROW 2 and COLOUMN 2: -7 + +Input value for ROW 2 and COLOUMN 3: 8 + +Input value for ROW 3 and COLOUMN 1: -5 + +Input value for ROW 3 and COLOUMN 2: 2 + +Input value for ROW 3 and COLOUMN 3: -4 + +Enter desired operation: +1) Add the first matrix to the second +2) Multiply the second matrix by the first +3) Multiply the first matrix by the second +2 +┌ ┐ ┌ ┐ ┌ ┐ +│ -5.00 -7.00 +5.00│ │ -5.00 +10.00 +1.00│ │ +28.00 +9.00 -81.00│ +│ +0.00 +8.00 -7.00│ X │ -4.00 -7.00 +8.00│ = │ +3.00 -70.00 +92.00│ +│ +8.00 +0.00 +9.00│ │ -5.00 +2.00 -4.00│ │ -85.00 +98.00 -28.00│ +└ ┘ └ ┘ └ ┘ + +C:\Users\jorda\source\repos\CST116_Project3\x64\Debug\CST116_Project3.exe (process 1136) 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 . . . + +- - -Result: Success; the output array matches the ground truth + + +- - -Test 3-3: + +Plase enter the first matrix: +Input value for ROW 1 and COLOUMN 1: -5 + +Input value for ROW 1 and COLOUMN 2: -7 + +Input value for ROW 1 and COLOUMN 3: 5 + +Input value for ROW 2 and COLOUMN 1: 0 + +Input value for ROW 2 and COLOUMN 2: 8 + +Input value for ROW 2 and COLOUMN 3: -7 + +Input value for ROW 3 and COLOUMN 1: 8 + +Input value for ROW 3 and COLOUMN 2: 0 + +Input value for ROW 3 and COLOUMN 3: 9 + +Plase enter the second matrix: +Input value for ROW 1 and COLOUMN 1: -5 + +Input value for ROW 1 and COLOUMN 2: 10 + +Input value for ROW 1 and COLOUMN 3: 1 + +Input value for ROW 2 and COLOUMN 1: -4 + +Input value for ROW 2 and COLOUMN 2: -7 + +Input value for ROW 2 and COLOUMN 3: 8 + +Input value for ROW 3 and COLOUMN 1: -5 + +Input value for ROW 3 and COLOUMN 2: 2 + +Input value for ROW 3 and COLOUMN 3: -4 + +Enter desired operation: +1) Add the first matrix to the second +2) Multiply the second matrix by the first +3) Multiply the first matrix by the second +3 +┌ ┐ ┌ ┐ ┌ ┐ +│ -5.00 +10.00 +1.00│ │ -5.00 -7.00 +5.00│ │ +33.00 +115.00 -86.00│ +│ -4.00 -7.00 +8.00│ X │ +0.00 +8.00 -7.00│ = │ +84.00 -28.00 +101.00│ +│ -5.00 +2.00 -4.00│ │ +8.00 +0.00 +9.00│ │ -7.00 +51.00 -75.00│ +└ ┘ └ ┘ └ ┘ + +C:\Users\jorda\source\repos\CST116_Project3\x64\Debug\CST116_Project3.exe (process 10132) 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 . . . + +- - -Result: Success; the output array matches the ground truth |