Access over 20 million homework & study documents

search

IT210 - Week 6 Currency Conversion Test Procedure

Type

Homework

Rating

Showing Page:
1/8
Test Procedure: (Below the Test Procedure you can find the Pseudocode for the
conversion program.)
Convert Currency Test
**********Begin Test Proceder***********
********Menu Error Testing************
Test Case 1:
Inputs:
CurrencyType = “J”
Expected Output:
Invalid currency selection. Please try again
Test Case 2:
Inputs:
CurrencyType = “0”
Expected Output:
Invalid currency selection. Please try again
Test Case 3:
Inputs:
CurrencyType = “7”
Expected Output:
Invalid currency selection. Please try again
************Currency Conversion Testing**********************
Test Case 1: Valid International Currency = Canadian
Inputs:
CurrencyType = 1
CurrencyAmount = 100.0
Expected Output:
USDollar = 68.12
Test Case 2: Valid International Currency = Mexican
Inputs:
CurrencyType = 2
CurrencyAmount = 100.0
Expected Output:
USDollar = 10.52
Test Case 3: Valid International Currency = English
Inputs:
CurrencyType = 3
CurrencyAmount = 100.0

Sign up to view the full document!

lock_open Sign Up
Expected Output:
USDollar = 164.33
Test Case 4: Valid International Currency = Japanese
Inputs:
CurrencyType = 4
CurrencyAmount = 100.0
Expected Output:
USDollar = 10492
Test Case 5: Valid International Currency = French
Inputs:
CurrencyType = 5
CurrencyAmount = 100.0
Expected Output:
USDollar = 15.98
Test Case 6: Valid International Currency = Quit
Inputs:
CurrencyType = 6
Expected Output:
End program
********Conversion Error Testing**********
Test Case 1: Valid International Currency = Canadian
Inputs:
CurrencyType = 1
CurrencyAmount = 0
Expected Output:
Invalid Amount
Test Case 2: Valid International Currency = Mexican
Inputs:
CurrencyType = 2
CurrencyAmount = 50000000
Expected Output:
Invalid Amount
Test Case 3: Valid International Currency = English
Inputs:
CurrencyType = 98938933
CurrencyAmount = 100.0
Expected Output:
Invalid Amount

Sign up to view the full document!

lock_open Sign Up
Test Case 4: Valid International Currency = Japanese
Inputs:
CurrencyType = 4
CurrencyAmount = 0
Expected Output:
Invalid Amount
Test Case 5: Valid International Currency = French
Inputs:
CurrencyType = 1000000
CurrencyAmount = 100.0
Expected Output:
Invalid Amount
**********Output Testing****************
Test Case 1: Valid International Currency = Canadian
Inputs:
CurrencyType = 1
CurrencyAmount = 100.0
Expected Output:
The value of 100 Canadian Dollars is 68.12 U.S Dollars
Test Case 2: Valid International Currency = Mexican
Inputs:
CurrencyType = 2
CurrencyAmount = 100.0
Expected Output:
The value of 100 Mexican Pesos is 10.52 U.S Dollars
Test Case 3: Valid International Currency = English
Inputs:
CurrencyType = 3
CurrencyAmount = 100.0
Expected Output:
The value of 100 English Pounds is 164.33 U.S Dollars
Test Case 4: Valid International Currency = Japanese
Inputs:
CurrencyType = 4
CurrencyAmount = 100.0
Expected Output:
The value of 100 Japanese Yen is 10492 U.S Dollars
Test Case 5: Valid International Currency = French
Inputs:
CurrencyType = 5

Sign up to view the full document!

lock_open Sign Up

Anonymous
Really helped me to better understand my coursework. Super recommended.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4