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
Replace a TODO comment in examples
- Commit
3b0f8c7ff0df4ee3f713d9a0899d6d670c85cc82- Author
- Martin Hořeňovský ·
- Parents
2840ce1e708e
Changes
examples/301-Gen-MapTypeConversion.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/301-Gen-MapTypeConversion.cpp b/examples/301-Gen-MapTypeConversion.cpp index 6d81ce6d..ba55f65f 100644 --- a/examples/301-Gen-MapTypeConversion.cpp +++ b/examples/301-Gen-MapTypeConversion.cpp @@ -1,6 +1,9 @@ // 301-Gen-MapTypeConversion.cpp // Shows how to use map to modify generator's return type. +// Specifically we wrap a std::string returning generator with a generator +// that converts the strings using stoi, so the returned type is actually +// an int. #include <catch2/catch_test_macros.hpp> #include <catch2/generators/catch_generators_adapters.hpp>