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

Method TestWtrokaInput

util/stream/ios_ut.cpp:417–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

415}
416
417void TStreamsTest::TestWtrokaInput() {
418 const TString s(Text);
419 TStringInput is(s);
420 TUtf16String w;
421 size_t i = 0;
422
423 while (is.ReadLine(w)) {
424 UNIT_ASSERT(i < Y_ARRAY_SIZE(Expected));
425 UNIT_ASSERT_VALUES_EQUAL(w, UTF8ToWide(Expected[i]));
426
427 ++i;
428 }
429}
430
431void TStreamsTest::TestWtrokaOutput() {
432 TString s;

Callers

nothing calls this directly

Calls 2

UTF8ToWideFunction · 0.50
ReadLineMethod · 0.45

Tested by

no test coverage detected