Chapter 13. Strategies for Testing LINT

Don't blame the Compiler.

—David A. Spuler: C++ and C Debugging, Testing, and Code Reliability

In the previous chapters we have encountered here and there hints for testing individual functions. Without meaningful tests to ensure the quality of our package, all of our work would be for naught, for on what else are we to base our confidence in the reliability of our functions? Therefore, we are now going to give our full attention to this important topic, and to this end we ask two questions that every software developer should ask:

  1. How can we be certain that our software functions behave according to their specifications, which in our case means first of all that they are mathematically correct?

  2. How can we ...

Get Cryptography in C and C++, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.