Given the following fragment of code, how many tests are required for 100% decision coverage?
discount = 0
order_quantity=0
real order_quantity
if order_quantity >=20 then
discount = 0.05
if order_quantity >=100 then
discount = 0.1
end_if
Limited Time Offer
25%
Off
Currently there are no comments in this discussion, be the first to comment!
Currently there are no comments in this discussion, be the first to comment!