MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / success_helper

Function success_helper

tests/memcmp_test.cpp:110–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void success_helper(const void* a, const void* b, size_t s) {
111 EXPECT_TRUE(InlinedMemcmpEq(a, b, s))
112 << "a is: " << std::string((char*)a, s) << std::endl
113 << "b is: " << std::string((char*)b, s) << std::endl;
114}
115
116void failed_helper(const void* a, const void* b, size_t s) {
117 EXPECT_FALSE(InlinedMemcmpEq(a, b, s))

Callers 1

TESTFunction · 0.85

Calls 1

InlinedMemcmpEqFunction · 0.50

Tested by

no test coverage detected