Assignment: Currency Conversion Test Procedure

Topic: Free
Sample donated:
Last updated: April 22, 2019

Display Menu Test Cases Test Case 1: Valid Menu Selection = Canadian Dollars Inputs: Menu Selection = 1 Expected Outputs: “Do you want to continue with the conversion, Y = Yes, N = No” Currency_Type = 1 Test Case 2: Valid Menu Selection = Quit Inputs: Menu Selection = 6 Expected Outputs: “Do you want to Quit, Y = Yes, N = No” Currency_Type = 6 Test Case 3: Invalid Menu Selection = 9 Inputs: Menu Selection = 9 Expected Outputs: “Error 4: Please make a valid menu selection” “Hit any character or number to continue” Menu is redisplayed Get_Int_Value Test Test Case 1: Valid International Value = 100. Inputs: 100. 0 Expected Outputs: International Value = 100. 0 Test Case 2: Valid International Value = 0. 0 Inputs: 0. 0 Expected Outputs: International Value = 00. 0 Test Case 3: Invalid International Value = -15 Inputs: -15 Expected Outputs: Error 1: Invalid input—Negative Number Strike any character or numeric key to continue Test Case 4: Illegal International value = character input Input: ”L” Expected Outputs: Error 2: Illegal Input, Strike any character or numeric key to continue Convert Currency Test Test Case 1: Valid International Currency = Canadian Inputs: Currency_Type = 1Int_Value = 100. 0 Expected Output: U.

S. _Value = 104. 67 Test Case 2: Valid International Currency = Mexican Inputs: Currency_Type = 2 Int_Value = 100. 0 Expected Output: U. S. _Value = 8.

We Will Write a Custom Essay Specifically
For You For Only $13.90/page!


order now

52 Test Case 3: Valid International Currency = Euro Inputs: Currency_Type = 3 Int_Value = 100. 0 Expected Output: U. S. _Value = 144.

82 Test Case 4: Valid International Currency = Japanese Inputs: Currency_Type = 4 Int_Value = 100. 0 Expected Output: U. S. _Value = 1. 18 Test Case 5: Valid International Currency = Chinese Inputs: Currency_Type = 5 Int_Value = 100.

0 Expected Output: U. S. _Value = 15. 30Test Case 6: Invalid International Currency = 6 Inputs: Currency_Type = 6 Int_Value = 100. 0 Expected Output: U. S.

_Value = 0. 0 Display Results Test Cases Test Case 1: Valid International Currency = Canadian Inputs: Currency_Type = 1 Int_Value = 100. 0 U. S. _Value = 104. 67 Expected Output: The value of 100. 0 Canadian dollars is 104. 67 U.

S. dollars Test Case 2: Valid International Currency = Mexican Inputs: Currency_Type = 2 Int_Value = 100. 0 U. S. _Value = 8. 52 Expected Output: The value of 100. 0 Mexican pesos is 8. 52 U.

S. dollars Test Case 3: Valid International Currency = EuroInputs: Currency_Type = 3 Int_Value = 100. 0 U. S. _Value = 144. 82 Expected Output: The value of 100.

0 European Euros is 144. 82 U. S. dollars Test Case 4: Valid International Currency = Japanese Inputs: Currency_Type = 4 Int_Value = 100. 0 U. S. _Value = 1. 18 Expected Output: The value of 100.

0 Japanese yen is 1. 18 U. S. dollars Test Case 5: Valid International Currency = Chinese Inputs: Currency_Type = 5 Int_Value = 100.

0 U. S. _Value = 15. 30 Expected Output: The value of 100.

0 Chinese yuan is 15. 30 U. S. dollars Test Case 6: Invalid International Currency = 6 Inputs: Currency_Type = 6Int_Value = 100. 0 U.

S. _Value = 0. 0 Expected Output: Error 5: Invalid Currency Type Currency Conversion Integration Test Test Case 1: Valid Selection = Canadian Inputs: Currency_Type = 1 Int_Value = 100. 0 U.

S. _Value = 104. 67 Expected Output The value of 100. 0 Canadian dollars is 104. 67 U. S. dollars Test Case 2: Valid Selection = Quit Inputs: Currency_Type = 6 Continue = ”n” Expected Output Thank you for using the Currency Conversion Program Test Case 3: Illegal Currency Amount Inputs: Currency_Type = 1 Int_Value = ”L” Outputs Error 2: Illegal Input Strike any character or numeric key to continue

x

Hi!
I'm Mia!

Don't know how to start your paper? Worry no more! Get professional writing assistance from me.

Check it out