This preview shows pages 1–3. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Main control test case: Welcome to the currency conversion program. Do you want to continue? Y = yes, N = no Input: User enters Y Expected output: Please enter a menu selection Input: User enters N Expected output: End program THIS TEST’S THE FIRST OF THE FLOWCHART TO MAKE SURE THE USER WANTS TO USE THIS PROGRAM. Display output test case 1: Valid Conversion of Canadian Currency Input: Selection number = 1 Expected output: Do you want to continue? Input: Currency_type = Canadian Int_Value = 100.00 Converted Value = 68.12 Expected Output: The value of 100.00 Canadian Dollars is 68.12 US Dollars Display output test case 2: Valid conversion of Mexican pesos Input: Selection number = 2 Expected output: Do you want to continue? Currency_Type = Mexican Int_Value = 50.00 Converted Value = 5.26 Expected output: The value of 50.00 Mexican pesos is 5.26 US dollars Display output test case 3: Valid conversion of English pounds Input: Selection number = 3 Currency_Type = English Int_Value = 25 Converted Value = 41.10Converted Value = 41....
View Full Document
This note was uploaded on 03/06/2012 for the course IT 210 taught by Professor Josephpillera during the Spring '10 term at University of Phoenix.
- Spring '10