MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / addAssert

Function addAssert

tests/framework/src/doctest.cpp:1782–1785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1780#endif // Platform
1781
1782 void addAssert(assertType::Enum at) {
1783 if((at & assertType::is_warn) == 0) //!OCLINT bitwise operator in conditional
1784 g_cs->numAssertsCurrentTest_atomic++;
1785 }
1786
1787 void addFailedAssert(assertType::Enum at) {
1788 if((at & assertType::is_warn) == 0) //!OCLINT bitwise operator in conditional

Callers 1

logMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected