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

Function GetMapBugsImpl

src/test/mapbugs_test.cpp:10–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8static const char *DM1_SHA256 = "0b0c481d77519c32fbe85624ef16ec0fa9991aec7367ad538bd280f28d8c26cf";
9
10static CMapBugs GetMapBugsImpl(const char *pName, int Size, const char *pSha256)
11{
12 SHA256_DIGEST Sha256 = {{0}};
13 dbg_assert(sha256_from_str(&Sha256, pSha256) == 0, "invalid sha256 in tests");
14 return CMapBugs::Create(pName, Size, Sha256);
15}
16
17TEST(MapBugs, Contains)
18{

Callers 1

TESTFunction · 0.85

Calls 1

sha256_from_strFunction · 0.85

Tested by

no test coverage detected