C++ unit test

Here’s the usual way I setup my main() for unit tests in unit_t.cpp. You can run either the entire test suite or specify an individual test on the command line:

Here’s the code:

Leave a Reply

Your email address will not be published. Required fields are marked *