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

Function Y_UNIT_TEST

util/stream/zlib_ut.cpp:57–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 static const TString DATA2 = "cn8wk2bd9vb3vdfif83g1ks94bfiovtwv";
56
57 Y_UNIT_TEST(Compress) {
58 TUnbufferedFileOutput o(ZDATA);
59 TZLibCompress c(&o, ZLib::ZLib);
60
61 c.Write(DATA.data(), DATA.size());
62 c.Finish();
63 o.Finish();
64 }
65
66 Y_UNIT_TEST(Decompress) {
67 TTempFile tmpFile(ZDATA);

Callers

nothing calls this directly

Calls 12

ReadAllMethod · 0.80
SetDictMethod · 0.80
TParamsClass · 0.70
WriteMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45
FinishMethod · 0.45
SetTypeMethod · 0.45
LoadMethod · 0.45
swapMethod · 0.45
FlushMethod · 0.45

Tested by

no test coverage detected