Preview

Currency Conversion Test Procedure

Satisfactory Essays
Open Document
Open Document
640 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Currency Conversion Test Procedure
Currency Conversion Test Procedure
Display Menu Test Cases
Test Case 1: Valid 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: Invalid Selection = Russian Rubels Inputs: Menu Selection = > 5 Expected Outputs: “Invalid menu selection, please pick a different selection.”
Test Case 3: Quit = N Inputs: Quit = N Expected Outputs: “Do you want to continue with the conversion: Y = Yes, N = No” Test Case 4: Quit = Y Inputs: Quit = Y Expected Outputs: “Are you sure you want to quit: Y = Yes, N = No”
Test Case 5: Quit Verified = Yes Inputs: Quit = Y Expected Outputs: End
Test Case 6: Quit Verified Inputs: Quit = N Expected Outputs: Return to menu list: “Choose a menu selection”
Test Case 7: Conversion Verified: Y = Yes Inputs: Continue with conversion = Y Expected Outputs: Call get-int-value module
Test Case 8: Coversion Verified: N = No Inputs: Continue with conversion = N Expected Outputs: Return to menu list: “Choose a menu selection”
Get-Int-Value Test Cases
Test Case 1: Legal input = 543 Inputs: 543 Output: valid input?
Test Case 2: Illegal Input= Banana Inputs: Banana Output: “Error: Illegal Value, please enter a legal value”
Test Case 3: Valid Input Input: 543 Expected Output: Call CurrencyConversion Module
Test Case 4: Invalid Input Input: -11 Expected output: “Error: Invalid input, please enter a valid value”
Currency Coversion Test Cases
Test Case 1: Valid International Currency = Canadian Dollars Inputs: Currency Type = 1 Int-Value= 150.00 Expected Output: convert currency US Value = Rate * Int-Value
Test Case 2 : Valid International Currency= Mexican Pesos Inputs: Currency Type = 2 Int-Value= 150 Expected Output: Convert currency US Value = Rate * Int-Value
Test Case 3: Valid International Currency = English Pounds Inputs: Currency

You May Also Find These Documents Helpful

  • Satisfactory Essays

    a1 script win213

    • 380 Words
    • 2 Pages

    If the user does not enter a numeric value the program should prompt for a numeric value…

    • 380 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    You are entering the currency converter Quit ? You are exiting the currency converter Get user input Yes No Calculate Foreign currency to dollars Display equal value U.S dollar amount End -------------------------------------------------…

    • 585 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    It/210 Final Exam

    • 1235 Words
    • 5 Pages

    4. The calculation should be executed only after all the valid input values are provided.…

    • 1235 Words
    • 5 Pages
    Good Essays
  • Good Essays

    It210 Week 4 Psuedocode

    • 584 Words
    • 3 Pages

    = Yes || yes|| No || no Write: “That is not a correct entry!” Write: “Please enter Yes or No.” Input QuitNow…

    • 584 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    It 210 Appendix I

    • 623 Words
    • 3 Pages

    End Main Module Display Menu Module Write “Welcome. Please choose one of the following:” Write “Selection 1 = Canadian Conversion” Write “Selection 2 = Mexican Conversion” Write “Selection 3 = English…

    • 623 Words
    • 3 Pages
    Powerful Essays
  • Satisfactory Essays

    Appendix a It210

    • 305 Words
    • 2 Pages

    The currency conversion application is a menu-driven program that allows users to select one of five international currency types, input the amount of a foreign currency, and convert the foreign currency to dollars. The program displays the equivalent dollar amount and returns the user to the menu until he or she enters another conversion or quits the program.…

    • 305 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    PT1420week5exdkinney

    • 404 Words
    • 2 Pages

    If you want to display your currency values to two decimal places with a dollar sign and commas when applicable you would use the Format() function. This returns a Variant (convertible to a String) data type formatted to look the way you need. Programmers would also use the strFormat function to format values. For example:…

    • 404 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    It 210 Final Project

    • 733 Words
    • 3 Pages

    3. User data should be requested in clear and concise means. “Please Enter Amount of Foreign Currency (Whole amounts only please”…

    • 733 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Unit 4 Homework

    • 401 Words
    • 2 Pages

    Same with this one actually wrote it to see and nothing happen. The argument is passed into a special type of parameter on this program module.…

    • 401 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    understand the use of zero as a place holder, e.g. £1.05 is £1 and 5p…

    • 828 Words
    • 4 Pages
    Powerful Essays
  • Satisfactory Essays

    Case 11-4 Functional Currency Determination — IFRS 2009: Sparkle Company is a Nigerian diamond mining company. (Nigerian currency is the Naira (NGN).) Sparkle is a joint venture, 50 percent owned by Shine and 50 percent owned by Brighten. Both Shine and Brighten are U.S.-based companies with US$ functional currency. This year, Sparkle had several transactions with its joint venture owners and outside parties. The details of Sparkle’s transactions are as follows: Loans    $1 million from Brighten. $1 million from Shine. NGN 300 million from a local bank.…

    • 435 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    As we have to find the optimal trading plan, hence we will “MINIMIZE” this objective function.…

    • 354 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Sovereignity- supreme & independent power or authority in government as possessed or claimed by a state or community. Being sovereign nations can be more indifferent to the interests of others. As long as nations exist, international economics will always need a separate body of analysis distinct from the rest of economies.…

    • 1106 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    Us dollar evaluation

    • 419 Words
    • 2 Pages

    The name of the article that I choose to do my article review on is called Imagining the Dollar Without Its Privilege. This is a very interesting article writing by Eduardo Porter for the New York Times on October 15, 2013. This article is all about the uncertainty of the worth of the U.S dollars and what it might mean to our nation and the rest of the world. A very interesting quote from this article made by George Soros is “the dollar is the weakest currency except for all others”. The article addresses concerns around the world about the U.S currency which has been downgraded for the first time in history by the rating industry Standard & Poor’s. The article talks about how the U.S dollars is the world reserve currency, which currently holds two-thirds of the world’s foreign reserves (mostly treasury bonds) and also half of the world foreign debt securities. Furthermore the article states that with all the internal issues the U.S is facing with Republicans in Congress threatening default as a leverage in order to eliminate Obamacare, the rest of the world are shifting in finding an alternative for the dollar. The article discusses some upside for the dollar losing its reserve status, stating that “the job of reserve currency is too big for the dollar to shoulder alone”, however it also goes into detail about some of the disadvantage of the dollar loosing value and the world shifting to a multipolarity, stating the world might be financially riskier.…

    • 419 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    indian currency

    • 4278 Words
    • 14 Pages

    The Indian rupee (symbol: INR; ISO code: INR) is the official currency of the Republic of India. The issuance of the currency is controlled by the Reserve Bank of India.[2]…

    • 4278 Words
    • 14 Pages
    Satisfactory Essays