Replace a TODO comment in examples

This commit is contained in:
Martin Hořeňovský 2020-06-23 18:30:48 +02:00
parent 2840ce1e70
commit 3b0f8c7ff0
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -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>