MCPcopy Create free account
hub / github.com/SoarGroup/Soar / assertMessage

Function assertMessage

Tests/TestExternalLibrary/TestExternalLibrary.cpp:22–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22void assertMessage(const char* message, bool assertion)
23{
24 if (assertion)
25 {
26 return;
27 }
28 std::cerr << "Failure: " << message << std::endl;
29 exit(1);
30}
31
32int main(int argc, char** argv)
33{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected