Tutorial-8: To Generate Equivalence Class Test Cases-For the Salesman Commission Calculation Program
"A desert cooler sales person sold cooler fans, pumps and bodies that were made by a cooler maker. Fans cost $45, pumps cost $30 and bodies cost $25.
The salesperson had to sell at least one complete cooler per month, and the production limits were such that the most the sales person could sell in a month was 70 fans, 80 pumps and 90 bodies. The sales person used to send the details of sold items to the cooler maker. The cooler maker then computed the sales person's commission as follows:
1) 10% on sales upto and including $1000.
2) 15% of the next $800.
3) And 20% on any sales in excess of $1800.
The commission program produced a monthly sales report that gave the total number of fans, pumps and bodies sold, the sales person's total dollar sales and finally, the commission."