An online store called Complete Colorguard Equipment sells customized flags for colorguard performances. The store uses a
Question:
An online store called Complete Colorguard Equipment sells customized flags for colorguard performances. The store uses a program where the customer inputs the specifics for a flag order. Customers may order poles separately from flags. The program then calculates the total cost of the order. The following input is required:
Do you need a pole? Yes, No
If yes, size? 5ft - 9ft
The pattern on the flag: SOLID, STRIPES, CURVES
The preferred fabric: COTTON, NYLON.
The number of flags to be purchased as an integer: 1-99 inclusive
Each nylon flag costs $15 (tax is included in the price), plus $2 per foot over five feet. Each cotton flag costs $20 (tax is included in the price), plus $2 per foot over five feet.
A discount of %10 is applied to orders of 20 flags or more.
Exercise:
1. Write a list of equivalence classes for the input data to this program.
Write a set of test cases to exercise all the equivalence classes. (Include pattern, even though it doesn't affect the price.)
For each test case indicate which classes it covers.
Advanced Financial Accounting
ISBN: 978-0137030385
6th edition
Authors: Thomas Beechy, Umashanker Trivedi, Kenneth MacAulay