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

Method TestReadLine

util/stream/ios_ut.cpp:142–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142void TStreamsTest::TestReadLine() {
143 TString data("1234\r\n5678\nqw");
144 TStringInput si(data);
145
146 UNIT_ASSERT_EQUAL(si.ReadLine(), "1234");
147 UNIT_ASSERT_EQUAL(si.ReadLine(), "5678");
148 UNIT_ASSERT_EQUAL(si.ReadLine(), "qw");
149}
150
151void TStreamsTest::TestMemoryStream() {
152 char buf[1024];

Callers

nothing calls this directly

Calls 1

ReadLineMethod · 0.45

Tested by

no test coverage detected