A method named cC takes three inputs: from, to, and amount. Both from and to are strings and denote the name of a country. Variable amount is of type float. Method cC converts amount in the currency...

A method named cC takes three inputs: from, to, and amount. Both from and to are strings and denote the name of a country. Variable amount is of type float. Method cC converts amount in the currency of the country specified by from and returns the equivalent amount, a quantity of type float, in the currency of the country specified by to. Here is an example prepared on July 26, 2004: Inputs: from = “USA”, to = “Japan”, amount = 100 Returned value: 11,012.0 (a) Derive a set of tests for cC using equivalence partitioning and boundary values analysis. (b) Suppose that a GUI encapsulates cC and allows the user to select the values of from and to using a palette of country names. The user types in the amount to be converted in a text box before clicking on the button labeled Convert. Will the presence of the GUI change the tests you derived in (a)? If so, how? If not, why? You may find that the requirement specification given for cC is incomplete in several respects. While generating tests, it is recommended that you resolve any ambiguities in the requirements and complete the information not available by using common sense and/or discussing the problem with appropriate members of the design/development team.



May 26, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here