Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 457 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 457 Bytes

Defining a unit test using the Catch2 library

In this recipe, we will use CMake in combination with Catch2, to test the summation code introduced in the previous recipe.

A nice feature of Catch2 is the fact that it can be included in your project as a single-header library, which makes compilation and updating the framework particularly easy.