Next the module was reprogrammed in perl
. After testing the new programs with inputs that
are small or easy to evaluate by hand, the ``real'' tests were started.
If a fault was suspected during a test, the input was
simplified until it was possible to decide if it was in the
dBASE or the perl module.
The first test done was always the inspection of the given data's temporal arrangement. In other words, is each medication taken into account in the appropriate quarter, and in the appropriate year, and nowhere else? To do this, some small dBASE tables were produced with just a few entries. After those were evaluated correctly, the table's size was continuously increased. The correct response to empty periods of time was also checked.