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

Method TestGenericWrite

util/stream/ios_ut.cpp:132–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132void TStreamsTest::TestGenericWrite() {
133 TString s;
134 TStringOutput so(s);
135
136 so.Write("123456", 6);
137 so.Write("7890", 4);
138
139 UNIT_ASSERT_EQUAL(s, "1234567890");
140}
141
142void TStreamsTest::TestReadLine() {
143 TString data("1234\r\n5678\nqw");

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.45

Tested by

no test coverage detected