diff options
author | yazevnul <yazevnul@yandex-team.ru> | 2022-02-10 16:46:46 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:46 +0300 |
commit | 8cbc307de0221f84c80c42dcbe07d40727537e2c (patch) | |
tree | 625d5a673015d1df891e051033e9fcde5c7be4e5 /util/draft/datetime_ut.cpp | |
parent | 30d1ef3941e0dc835be7609de5ebee66958f215a (diff) | |
download | ydb-8cbc307de0221f84c80c42dcbe07d40727537e2c.tar.gz |
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/draft/datetime_ut.cpp')
-rw-r--r-- | util/draft/datetime_ut.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/draft/datetime_ut.cpp b/util/draft/datetime_ut.cpp index a5e065ef6e..b64fdaa36a 100644 --- a/util/draft/datetime_ut.cpp +++ b/util/draft/datetime_ut.cpp @@ -4,7 +4,7 @@ #include <util/string/builder.h> -Y_UNIT_TEST_SUITE(TSimpleTMTest) { +Y_UNIT_TEST_SUITE(TSimpleTMTest) { TString PrintMarker(const TString& test, int line) { return TStringBuilder() << "test " << test << " at line " << line; } @@ -52,7 +52,7 @@ Y_UNIT_TEST_SUITE(TSimpleTMTest) { UNIT_ASSERT_VALUES_EQUAL_C((int)tms.Sec, sec, marker); } - Y_UNIT_TEST(TestLeap) { + Y_UNIT_TEST(TestLeap) { using namespace NDatetime; UNIT_ASSERT(LeapYearAD(2000)); UNIT_ASSERT(LeapYearAD(2012)); @@ -61,7 +61,7 @@ Y_UNIT_TEST_SUITE(TSimpleTMTest) { UNIT_ASSERT(!LeapYearAD(1900)); } - Y_UNIT_TEST(TestYDayConversion) { + Y_UNIT_TEST(TestYDayConversion) { using namespace NDatetime; ui32 month; ui32 mday; @@ -79,7 +79,7 @@ Y_UNIT_TEST_SUITE(TSimpleTMTest) { UNIT_ASSERT_EXCEPTION(YDayToMonthAndDay(366, true, &month, &mday), yexception); } - Y_UNIT_TEST(SimpleTMTest) { + Y_UNIT_TEST(SimpleTMTest) { using namespace NDatetime; tzset(); |