aboutsummaryrefslogtreecommitdiffstats
path: root/util/digest
diff options
context:
space:
mode:
authora-square <a-square@yandex-team.ru>2022-02-10 16:50:24 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:24 +0300
commita01c1f7b71b4422f01b11d9ea45bfd88e228c968 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/digest
parent34f3f9bd7972f67d913075206081554a3e39a0de (diff)
downloadydb-a01c1f7b71b4422f01b11d9ea45bfd88e228c968.tar.gz
Restoring authorship annotation for <a-square@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/digest')
-rw-r--r--util/digest/sequence_ut.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/util/digest/sequence_ut.cpp b/util/digest/sequence_ut.cpp
index 465d73bf7f..87d6102ee5 100644
--- a/util/digest/sequence_ut.cpp
+++ b/util/digest/sequence_ut.cpp
@@ -1,7 +1,7 @@
#include "sequence.h"
#include <library/cpp/testing/unittest/registar.h>
-#include <util/generic/map.h>
+#include <util/generic/map.h>
#include <util/generic/vector.h>
class TRangeHashTest: public TTestBase {
@@ -9,7 +9,7 @@ class TRangeHashTest: public TTestBase {
UNIT_TEST(TestStrokaInt)
UNIT_TEST(TestIntVector)
UNIT_TEST(TestOneElement)
- UNIT_TEST(TestMap);
+ UNIT_TEST(TestMap);
UNIT_TEST(TestCollectionIndependancy);
UNIT_TEST_SUITE_END();
@@ -31,12 +31,12 @@ private:
UNIT_ASSERT_UNEQUAL(THash<int>()(testVal), TRangeHash<>()(testVec));
}
- inline void TestMap() {
- const size_t canonicalHash = static_cast<size_t>(ULL(4415387926488545605));
- TMap<TString, int> testMap{{"foo", 123}, {"bar", 456}};
- UNIT_ASSERT_EQUAL(canonicalHash, TRangeHash<>()(testMap));
- }
-
+ inline void TestMap() {
+ const size_t canonicalHash = static_cast<size_t>(ULL(4415387926488545605));
+ TMap<TString, int> testMap{{"foo", 123}, {"bar", 456}};
+ UNIT_ASSERT_EQUAL(canonicalHash, TRangeHash<>()(testMap));
+ }
+
inline void TestCollectionIndependancy() {
TVector<char> testVec = {'a', 'b', 'c'};
TString testStroka = "abc";