Skip to content

Commit

Permalink
Added missing definiton of assert equals with pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
ryancalhoun committed Apr 12, 2016
1 parent ade3d06 commit 2d2a9ff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/cppunit/TestAssert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ void assertEquals(int expected, unsigned long long actual, SourceLine sourceLine
assertEquals<int>(expected, (int)actual, sourceLine, message);
}

void assertEquals(const void* expected, const void* actual, SourceLine sourceLine, const std::string& message)
{
assertEquals<const void*>(expected, actual, sourceLine, message);
}

void assertLess(int expected, unsigned long long actual, SourceLine sourceLine, const std::string& message)
{
assertLess<int>(expected, (int)actual, sourceLine, message);
Expand Down

0 comments on commit 2d2a9ff

Please sign in to comment.