MCPcopy Create free account
hub / github.com/catchorg/Catch2 / testCheckedElse

Function testCheckedElse

tests/SelfTest/UsageTests/Misc.tests.cpp:32–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 return false;
31 }
32 static bool testCheckedElse(bool flag) {
33 CHECKED_ELSE(flag)
34 return false;
35
36 return true;
37 }
38
39 static unsigned int Factorial(unsigned int number) {
40 return number > 1 ? Factorial(number - 1) * number : 1;

Callers 1

Misc.tests.cppFile · 0.85

Calls 1

CHECKED_ELSEFunction · 0.85

Tested by

no test coverage detected