MCPcopy Create free account
hub / github.com/cpputest/cpputest / assertLongLongsEqual

Method assertLongLongsEqual

src/CppUTest/Utest.cpp:444–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442}
443
444void UtestShell::assertLongLongsEqual(cpputest_longlong expected, cpputest_longlong actual, const char* text, const char* fileName, size_t lineNumber, const TestTerminator& testTerminator)
445{
446 getTestResult()->countCheck();
447#ifdef CPPUTEST_USE_LONG_LONG
448 if (expected != actual)
449 failWith(LongLongsEqualFailure(this, fileName, lineNumber, expected, actual, text), testTerminator);
450#else
451 (void)expected;
452 (void)actual;
453 failWith(FeatureUnsupportedFailure(this, fileName, lineNumber, "CPPUTEST_USE_LONG_LONG", text), testTerminator);
454#endif
455}
456
457void UtestShell::assertUnsignedLongLongsEqual(cpputest_ulonglong expected, cpputest_ulonglong actual, const char* text, const char* fileName, size_t lineNumber, const TestTerminator& testTerminator)
458{

Callers 1

Calls 3

countCheckMethod · 0.45

Tested by

no test coverage detected