| 361 | } |
| 362 | |
| 363 | void TestStreamReadTo4(IInputStream& input, const char* comment) { |
| 364 | UNIT_ASSERT_VALUES_EQUAL_C(input.ReadTo('\0'), "one", comment); |
| 365 | UNIT_ASSERT_VALUES_EQUAL_C(input.ReadTo('\0'), "two", comment); |
| 366 | UNIT_ASSERT_VALUES_EQUAL_C(input.ReadTo('\0'), "three", comment); |
| 367 | } |
| 368 | |
| 369 | void TestStrokaInput(IInputStream& input, const char* comment) { |
| 370 | TString line; |