MCPcopy Create free account
hub / github.com/catboost/catboost / ComparePointers

Function ComparePointers

util/generic/string_ut.cpp:1245–1247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1243 }
1244
1245 static void ComparePointers(const std::string& s, const void* expected, TStringBuf descr) {
1246 UNIT_ASSERT_VALUES_EQUAL_C(static_cast<const void*>(s.c_str()), expected, descr);
1247 }
1248
1249 Y_UNIT_TEST(TestConstShared) {
1250 TString s(600, 'a');

Callers 1

Y_UNIT_TESTFunction · 0.70

Calls 1

c_strMethod · 0.45

Tested by

no test coverage detected