The Battleships problem – testing versus checking
Battleships is a grid-coordinate game, so, just like Dog Park, we will pretend we can flatten the input space into two dimensions – Y (up/down) and X (left/right). If it helps, you could think of the X-axis as activities, such as search, product information display, shopping cart, create/edit account, and the Y-axis as the input space within that account. If it doesn’t, well, it’s a model – it isn’t perfect. In the childhood game, the X-axis is represented by numbers (1 to 10) and the Y-axis is represented by letters (A to J). Thus, if you “bomb” the upper left-hand corner, you would select (1,A):
Figure 2.4 – A classic Battleships game map.This image is only for representation purposes. You can find the actual PDF at the link provided below.
This image was taken from Wikipedia under the Creative Commons license. At the time of writing, you can find...