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

Function Y_UNIT_TEST

library/cpp/containers/cow_string/cow_string_ut.cpp:1141–1146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1139 }
1140
1141 Y_UNIT_TEST(EmptyStringSerializationTest) {
1142 TCowString nothing{};
1143 TCowString deserialized = SerializeThereAndBack(nothing);
1144
1145 UNIT_ASSERT_VALUES_EQUAL(nothing, deserialized);
1146 }
1147
1148 Y_UNIT_TEST(RegularStringSerializationTest) {
1149 TCowString abra = "cadabra";

Callers

nothing calls this directly

Calls 10

SerializeThereAndBackFunction · 0.85
ConstRefClass · 0.85
AppendNoAliasMethod · 0.80
MutateFunction · 0.70
TransformFunction · 0.70
ComparePointersFunction · 0.70
c_strMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected