| 415 | } |
| 416 | |
| 417 | void 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 | |
| 431 | void TStreamsTest::TestWtrokaOutput() { |
| 432 | TString s; |
nothing calls this directly
no test coverage detected