A test case contains one or more tests. The Boost.Test library provides a series of APIs in the form of macros to write tests. In the previous recipe, you learned a bit about the BOOST_TESTÂ macro, which is the most important and widely used macro of the library. In this recipe, we will discuss how it can be used in further detail.
Asserting with Boost.Test
Getting ready
You should now be familiar with writing test suites and test cases, a topic covered in the previous recipe.
How to do it...
The following list shows some of the most commonly used APIs for performing tests:
- BOOST_TEST, in its plain form, is used...