Test Procedure:
Begin Test Procedure
Menu Error Testing
Test Case 1:
Inputs:
Currency Type = “5”
Expected Output:
Invalid currency selection. Please try again
Test Case 2:
Inputs:
Currency Type = “9”
Expected Output:
Invalid currency selection. Please try again
Test Case 3:
Inputs:
Currency Type = “88”
Expected Output:
Invalid currency selection. Please try again
Currency Conversion Testing
Test Case 1: Valid International Currency = Canadian
Inputs:
Currency Type = 1
Currency Amount = 50
Expected Output:
US Dollar = 73.4
Test Case 2: Valid International Currency = Mexican
Inputs:
Currency Type = 2
Currency Amount = 60
Expected Output:
US Dollar = 570.51
Test Case 3: Valid International Currency = English
Inputs:
Currency Type = 3
Currency Amount = 65
Expected Output:
US Dollar = 106.8145
Test Case 4: Valid International Currency = Japanese
Inputs:
Currency Type = 4
Currency Amount = 70
Expected Output:
US Dollar = 7344.4
Test Case 5: Valid International Currency = E.U euro
Inputs:
Currency Type = 5
Currency Amount = 85
Expected Output:
US Dollar = 65.246
Test Case 6: Valid International Currency = Quit
Inputs:
Currency Type = 6
Expected Output:
End program
Conversion Error Testing
Test Case 1: Valid International Currency = Canadian
Inputs:
Currency Type = 1
Currency Amount = 0
Expected Output:
Invalid Amount
Test Case 2: Valid International Currency = Mexican
Inputs:
Currency Type = 2
Currency Amount = -150
Expected Output:
Invalid Amount
Test Case 3: Valid International Currency = English
Inputs:
Currency Type = 3
Currency Amount = 1,000,000,999
Expected Output:
Invalid Amount
Test Case 4: Valid International Currency = Japanese
Inputs:
Currency Type = 4
Currency Amount = -15
Expected Output:
Invalid Amount
Test Case 5: Valid International Currency = Euro
Inputs:
Currency Type = 5
Currency Amount = -300
Expected Output:
Invalid Amount
Output Testing
Test Case 1: Valid International