An online store is offering customers a special offer. Acustomer can get $50 cash back when he/she spend more than $270,and can get another $50 cash back when spend more than $540.Furthermore, the store offers a 10% discount for site members.(cash back is calculated after discount)
Suppose we are to test a system which calculate the last pricewe pay. An input to the system contains two numbers, (X, Y). X isan Integer > 0 represents the total price. Y is a Boolean showswhether the customer a site member. Output Z is a float representsthe money you pay. Design test cases to
PayPal Gateway not configured
PayPal Gateway not configured