| 4 | |
| 5 | Y_UNIT_TEST_SUITE(TestHttpDate) { |
| 6 | Y_UNIT_TEST(Test1) { |
| 7 | char buf1[100]; |
| 8 | char buf2[100]; |
| 9 | |
| 10 | UNIT_ASSERT((int)strlen(format_http_date(0, buf1, sizeof(buf1))) == format_http_date(buf2, sizeof(buf2), 0)); |
| 11 | } |
| 12 | Y_UNIT_TEST(Test2) { |
| 13 | UNIT_ASSERT_STRINGS_EQUAL(FormatHttpDate(1234567890), "Fri, 13 Feb 2009 23:31:30 GMT"); |
| 14 | } |
nothing calls this directly
no test coverage detected