| |
HINT 14 - TEST TABLE
To have a good test table you must have tested for any possible data the user can enter. You should list what happens when the user puts in expected and unexpected data. Check all answers with a calculator to see if you have errors in your logic.
WARNING SPOILER ANSWER BELOW
TEST TABLE BELOW
| Data |
Result |
Further Actions |
| Integers (1, 45, 99 and 99999) |
33.8, 113, 210.2, 180030.2 |
None all correct |
| Decimals 0.1, 3.999, 99.9999 |
32, 39.2, 500 |
None |
| Negative numbers -99, -1000.78 |
-146.2, -1769.8 |
None all good |
| Letters a, n f |
Run time error |
Needs IsNumeric to check for numbers |
| Symbols @, &, ( |
Run time error |
Needs IsNumeric to check for numbers |
| Zero |
32 degrees F |
None |

|
|