Generate a set of test inputs and expected results for the Currency Conversion program.
Sunday's assignment requires you to generate test values that test all branches of your program including errors and all currencies. Doing this should help you determine if your program is coded correctly. Follow through your design with a set of inputs and see what you come up with for outputs. Here is a template of a table to use if you want to but you are not limited to this form just make sure you use enough values (25-35 should be good).
Input
|
Expected Output
|
Comments
|
Menu item 1
|
Enter Canadian dollar to convert to USD
|
|
-10000 canadian
|
Error Message
|
input out of valid range
|
20000000 english pounds
|
Error Message
|
input out of valid range
|
100 English pounds
|
$164.33
|
valid input/output USD
|
100 Euro
|
$130.28
|
valid input/output USD
|