aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/info_ut.cpp
diff options
context:
space:
mode:
authorAnton Samokhvalov <pg83@yandex.ru>2022-02-10 16:45:15 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:15 +0300
commit72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch)
treeda2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /util/system/info_ut.cpp
parent778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff)
downloadydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/info_ut.cpp')
-rw-r--r--util/system/info_ut.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/util/system/info_ut.cpp b/util/system/info_ut.cpp
index ad7449f8f4..61618f40ac 100644
--- a/util/system/info_ut.cpp
+++ b/util/system/info_ut.cpp
@@ -1,22 +1,22 @@
-#include "info.h"
-
+#include "info.h"
+
#include <library/cpp/testing/unittest/registar.h>
+
+class TSysInfoTest: public TTestBase {
+ UNIT_TEST_SUITE(TSysInfoTest);
+ UNIT_TEST(TestNumberOfCpus)
+ UNIT_TEST(TestGetPageSize)
+ UNIT_TEST_SUITE_END();
-class TSysInfoTest: public TTestBase {
- UNIT_TEST_SUITE(TSysInfoTest);
- UNIT_TEST(TestNumberOfCpus)
- UNIT_TEST(TestGetPageSize)
- UNIT_TEST_SUITE_END();
-
-private:
- inline void TestNumberOfCpus() {
- UNIT_ASSERT(NSystemInfo::NumberOfCpus() > 0);
- UNIT_ASSERT_EQUAL(NSystemInfo::NumberOfCpus(), NSystemInfo::CachedNumberOfCpus());
- }
-
- inline void TestGetPageSize() {
- UNIT_ASSERT(NSystemInfo::GetPageSize() >= 4096);
- }
-};
-
-UNIT_TEST_SUITE_REGISTRATION(TSysInfoTest);
+private:
+ inline void TestNumberOfCpus() {
+ UNIT_ASSERT(NSystemInfo::NumberOfCpus() > 0);
+ UNIT_ASSERT_EQUAL(NSystemInfo::NumberOfCpus(), NSystemInfo::CachedNumberOfCpus());
+ }
+
+ inline void TestGetPageSize() {
+ UNIT_ASSERT(NSystemInfo::GetPageSize() >= 4096);
+ }
+};
+
+UNIT_TEST_SUITE_REGISTRATION(TSysInfoTest);