|
|
|
@ -9,12 +9,12 @@ namespace fuc2 { |
|
|
|
using Case = std::pair<std::string, Func>; |
|
|
|
using Case = std::pair<std::string, Func>; |
|
|
|
|
|
|
|
|
|
|
|
struct Options { |
|
|
|
struct Options { |
|
|
|
bool fail_fast; |
|
|
|
bool fail_fast = false; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
struct Set { |
|
|
|
struct Set { |
|
|
|
std::string name; |
|
|
|
std::string name; |
|
|
|
Options options; |
|
|
|
Options options{}; |
|
|
|
std::vector<Case> tests; |
|
|
|
std::vector<Case> tests; |
|
|
|
std::source_location location = std::source_location::current(); |
|
|
|
std::source_location location = std::source_location::current(); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|