mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
Replace a TODO comment in examples
This commit is contained in:
parent
2840ce1e70
commit
3b0f8c7ff0
@ -1,6 +1,9 @@
|
|||||||
// 301-Gen-MapTypeConversion.cpp
|
// 301-Gen-MapTypeConversion.cpp
|
||||||
// Shows how to use map to modify generator's return type.
|
// 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/catch_test_macros.hpp>
|
||||||
#include <catch2/generators/catch_generators_adapters.hpp>
|
#include <catch2/generators/catch_generators_adapters.hpp>
|
||||||
|
Loading…
Reference in New Issue
Block a user