#include <catch2/catch.hpp>
#include <string>
#include <sstream>
Go to the source code of this file.
|
| TEST_CASE ("filter can convert types inside the generator expression", "[example][generator]") |
|
◆ TEST_CASE()
TEST_CASE |
( |
"filter can convert types inside the generator expression" | , |
|
|
"" | [example][generator] ) |
Definition at line 47 of file 301-Gen-MapTypeConversion.cpp.
47 {
48 auto num =
GENERATE(map<int>([](std::string
const& line) {
return std::stoi(line); },
50
52}
Catch::Generators::GeneratorWrapper< std::string > lines(std::string)
◆ lines