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

Function Y_UNIT_TEST

util/generic/string_ut.cpp:1155–1159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1153
1154Y_UNIT_TEST_SUITE(TStringConversionTest) {
1155 Y_UNIT_TEST(ConversionToStdStringTest) {
1156 TString abra = "cadabra";
1157 std::string stdAbra = abra;
1158 UNIT_ASSERT_VALUES_EQUAL(stdAbra, "cadabra");
1159 }
1160
1161 Y_UNIT_TEST(ConversionToStdStringViewTest) {
1162 TString abra = "cadabra";

Callers

nothing calls this directly

Calls 6

ConstRefClass · 0.85
AppendNoAliasMethod · 0.80
MutateFunction · 0.70
TransformFunction · 0.70
ComparePointersFunction · 0.70
c_strMethod · 0.45

Tested by

no test coverage detected