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

Function Y_UNIT_TEST

util/stream/str_ut.cpp:11–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
10Y_UNIT_TEST_SUITE(TStringInputOutputTest) {
11 Y_UNIT_TEST(Lvalue) {
12 TString str = "Hello, World!";
13 TStringInput input(str);
14
15 TString result = input.ReadAll();
16
17 UNIT_ASSERT_VALUES_EQUAL(result, str);
18 }
19
20 Y_UNIT_TEST(ConstRef) {
21 TString str = "Hello, World!";

Callers

nothing calls this directly

Calls 15

TransferDataFunction · 0.85
JoinSeqFunction · 0.85
ReadAllMethod · 0.80
MinFunction · 0.50
moveFunction · 0.50
ToStringFunction · 0.50
sizeMethod · 0.45
substrMethod · 0.45
SkipMethod · 0.45
ClearMethod · 0.45
ReadToMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected