diff options
author | mskorokhod <mskorokhod@yandex-team.ru> | 2022-02-10 16:52:10 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:52:10 +0300 |
commit | e7adae184c30da49fd2aeb27144845235abc52d0 (patch) | |
tree | 4e31af8ff4120cd962911401060abca919843fd6 /util/random/random_ut.cpp | |
parent | 4fba99cfbef3a7ab3e33b32101302b45b0a0c862 (diff) | |
download | ydb-e7adae184c30da49fd2aeb27144845235abc52d0.tar.gz |
Restoring authorship annotation for <mskorokhod@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/random/random_ut.cpp')
-rw-r--r-- | util/random/random_ut.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/util/random/random_ut.cpp b/util/random/random_ut.cpp index 30427676f3..5543daa06a 100644 --- a/util/random/random_ut.cpp +++ b/util/random/random_ut.cpp @@ -80,10 +80,10 @@ Y_UNIT_TEST_SUITE(TRandomNumberTest) { while (!RandomNumber<bool>()) { } } - - Y_UNIT_TEST(TestResetSeed) { - SetRandomSeed(42); - for (const ui32 el : { + + Y_UNIT_TEST(TestResetSeed) { + SetRandomSeed(42); + for (const ui32 el : { 102, 179, 92, @@ -149,7 +149,7 @@ Y_UNIT_TEST_SUITE(TRandomNumberTest) { 20, 72, }) { - UNIT_ASSERT_EQUAL(RandomNumber<ui32>(1 << 8), el); - } - } + UNIT_ASSERT_EQUAL(RandomNumber<ui32>(1 << 8), el); + } + } } |