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

Function TEST

library/cpp/yt/memory/unittests/ref_ut.cpp:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10////////////////////////////////////////////////////////////////////////////////
11
12TEST(TSharedRefTest, Save)
13{
14 const TSharedRef expected = TSharedRef::FromString("My tests data");
15 TStringStream s;
16 ::Save(&s, expected); // only Save supported for TSharedRef. You can ::Load serialized data to vector.
17}
18
19////////////////////////////////////////////////////////////////////////////////
20

Callers

nothing calls this directly

Calls 2

FromStringFunction · 0.50
SaveFunction · 0.50

Tested by

no test coverage detected