aboutsummaryrefslogtreecommitdiffstats
path: root/util/random/random_ut.cpp
diff options
context:
space:
mode:
authormskorokhod <mskorokhod@yandex-team.ru>2022-02-10 16:52:10 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:52:10 +0300
commite7adae184c30da49fd2aeb27144845235abc52d0 (patch)
tree4e31af8ff4120cd962911401060abca919843fd6 /util/random/random_ut.cpp
parent4fba99cfbef3a7ab3e33b32101302b45b0a0c862 (diff)
downloadydb-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.cpp14
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);
+ }
+ }
}