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

Method TestReadTo

util/stream/ios_ut.cpp:398–405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396} // namespace
397
398void TStreamsTest::TestReadTo() {
399 TestStreamReadTo("111a222b333c444d555e666f", TestStreamReadTo1);
400 TestStreamReadTo(Text, TestStreamReadTo2);
401 TestStreamReadTo("111a222b333c444d555e666f", TestStreamReadTo3);
402 TString withZero = "one";
403 withZero.append('\0').append("two").append('\0').append("three");
404 TestStreamReadTo(withZero, TestStreamReadTo4);
405}
406
407void TStreamsTest::TestStrokaInput() {
408 TString s;

Callers

nothing calls this directly

Calls 2

TestStreamReadToFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected