Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Fix microbenchmark example in the main readme.md

Commit
fb68bb0bd5d9f0969d00cf05a959cbfa9e0787a4
Author
Martin Hořeňovský ·
Parents
77f7c0104dba

Files · Download .tar.gz

Changes

 README.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/README.md b/README.md
index 8b8a4ff0..d048d79d 100644
--- a/README.md
+++ b/README.md
@@ -41,6 +41,7 @@ TEST_CASE( "Factorials are computed", "[factorial]" ) {
 
 **Example microbenchmark**
 ```cpp
+#include <catch2/catch_test_macros.hpp>
 #include <catch2/benchmark/catch_benchmark.hpp>
 
 #include <cstdint>