MCPcopy Create free account
hub / github.com/ddnet/ddnet / ExpectMd5

Function ExpectMd5

src/test/hash_test.cpp:108–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106
107template<size_t BufferSize = MD5_MAXSTRSIZE>
108static void ExpectMd5(MD5_DIGEST Actual, const char *pWanted)
109{
110 char aActual[BufferSize];
111 md5_str(Actual, aActual, sizeof(aActual));
112 EXPECT_STREQ(aActual, pWanted);
113}
114
115TEST(Hash, Md5)
116{

Callers 1

TESTFunction · 0.85

Calls 1

md5_strFunction · 0.85

Tested by

no test coverage detected