diff options
author | Vlad Yaroslavlev <vladon@vladon.com> | 2022-02-10 16:46:25 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:25 +0300 |
commit | 344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/datetime/uptime_ut.cpp | |
parent | 706b83ed7de5a473436620367af31fc0ceecde07 (diff) | |
download | ydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz |
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'util/datetime/uptime_ut.cpp')
-rw-r--r-- | util/datetime/uptime_ut.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/util/datetime/uptime_ut.cpp b/util/datetime/uptime_ut.cpp index 5ffc372784..7f5ecc482c 100644 --- a/util/datetime/uptime_ut.cpp +++ b/util/datetime/uptime_ut.cpp @@ -1,12 +1,12 @@ #include <library/cpp/testing/unittest/registar.h> - -#include "uptime.h" - -Y_UNIT_TEST_SUITE(TestUptimeSuite) { - Y_UNIT_TEST(TestUptime) { - auto t1 = Uptime(); - Sleep(TDuration::MilliSeconds(50)); // typical uptime resolution is 10-16 ms - auto t2 = Uptime(); - UNIT_ASSERT(t2 > t1); - } -} + +#include "uptime.h" + +Y_UNIT_TEST_SUITE(TestUptimeSuite) { + Y_UNIT_TEST(TestUptime) { + auto t1 = Uptime(); + Sleep(TDuration::MilliSeconds(50)); // typical uptime resolution is 10-16 ms + auto t2 = Uptime(); + UNIT_ASSERT(t2 > t1); + } +} |