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

Method TestReadToResult

util/stream/multi_ut.cpp:16–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14 {
15 }
16 void TestReadToResult(char c, size_t expectedRetval,
17 const TString& expectedValue,
18 const TString& initValue = "") {
19 TString t = initValue;
20 UNIT_ASSERT_VALUES_EQUAL(MultiInput.ReadTo(t, c), expectedRetval);
21 UNIT_ASSERT_VALUES_EQUAL(t, expectedValue);
22 }
23 };
24
25 Y_UNIT_TEST(TestReadTo) {

Callers 1

Y_UNIT_TESTFunction · 0.80

Calls 1

ReadToMethod · 0.45

Tested by

no test coverage detected