MCPcopy Create free account
hub / github.com/commontk/CTK / TestCheckInt

Function TestCheckInt

Libs/Core/Testing/Cpp/ctkCoreTestingUtilitiesTest.cpp:50–59  ·  view source on GitHub ↗

----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

48
49//----------------------------------------------------------------------------
50bool TestCheckInt()
51{
52 if (!CheckInt(__LINE__, "TestCheckInt", 1, 1)
53 || CheckInt(__LINE__, "TestCheckInt Expected Failure", 1, -1))
54 {
55 qWarning() << "Line " << __LINE__ << " - TestCheckInt failed";
56 return false;
57 }
58 return true;
59}
60
61//----------------------------------------------------------------------------
62bool TestCheckNotNull()

Callers 1

Calls 1

CheckIntFunction · 0.85

Tested by

no test coverage detected