| 5 | |
| 6 | Y_UNIT_TEST_SUITE(TOutputStreamFormattingTest) { |
| 7 | Y_UNIT_TEST(TestLeftPad) { |
| 8 | TStringStream ss; |
| 9 | ss << LeftPad(10, 4, '0'); |
| 10 | UNIT_ASSERT_VALUES_EQUAL("0010", ss.Str()); |
| 11 | |
| 12 | ss.Clear(); |
| 13 | ss << LeftPad(222, 1); |
| 14 | UNIT_ASSERT_VALUES_EQUAL("222", ss.Str()); |
| 15 | } |
| 16 | |
| 17 | Y_UNIT_TEST(TestRightPad) { |
| 18 | TStringStream ss; |
nothing calls this directly
no test coverage detected