next up previous
Next: References Up: Hardware Techniques for Testing Previous: Experience

Conclusions

We have described how single precision checksums can be applied to the iterator testing problem. The technique's ability to detect errors in Lout is measured in terms of its aliasing probability. The time to develop and maintain checksum testing infrastructure is insignificant compared to the time to develop and maintain a typical collection class.

Single-precision checksums can also be used to test iterators that manipulate non-integer data. To achieve this, we encode integer values in the elements of and proceed as before.

We conclude that single precision checksums can provide cost-effective iterator testing.



Peter Walsh
Thu Jan 18 14:37:02 PST 1996