Algorithm Testing | ||
Computer systems need to be
reliable. To make sure of this, testing
is undertaken at many different stages of software development. Algorithms can be tested by checking the outputs for selected input data values, to make sure they are as expected.
|
||
Selection of Test Data When testing an algorithm, you need to run a sequence of tests. If one test works, that does not mean the program will work every time! Select...
Example If you are testing a procedure which calculates the VAT on the price of a purchased item, choose
|
||