Supermarket Pricing Example
An important technique in testing a program is to test all kinds of input
The term kind is vague but in practice it is often easy to decide what
kinds of input a program deals with
In our program there are two main kinds of input:
input that uses the low markup
input that uses the high markup
Hence we should test at least one value in each range
Also it’s a good idea to test the boundary value 7 (boundary values
are input values where the program changes behavior)