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

Function testCheckedIf

tests/SelfTest/UsageTests/Misc.tests.cpp:26–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 return makeNull ? nullptr : "valid string";
25 }
26 static bool testCheckedIf(bool flag) {
27 CHECKED_IF(flag)
28 return true;
29 else
30 return false;
31 }
32 static bool testCheckedElse(bool flag) {
33 CHECKED_ELSE(flag)
34 return false;

Callers 1

Misc.tests.cppFile · 0.85

Calls 1

CHECKED_IFFunction · 0.85

Tested by

no test coverage detected