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/digest/sequence_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/digest/sequence_ut.cpp')
-rw-r--r-- | util/digest/sequence_ut.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/digest/sequence_ut.cpp b/util/digest/sequence_ut.cpp index d915d7ad06..87d6102ee5 100644 --- a/util/digest/sequence_ut.cpp +++ b/util/digest/sequence_ut.cpp @@ -16,18 +16,18 @@ class TRangeHashTest: public TTestBase { private: inline void TestStrokaInt() { const size_t canonicalHash = static_cast<size_t>(ULL(12727184940294366172)); - UNIT_ASSERT_EQUAL(canonicalHash, TRangeHash<>()(TString("12345"))); + UNIT_ASSERT_EQUAL(canonicalHash, TRangeHash<>()(TString("12345"))); } inline void TestIntVector() { const size_t canonicalHash = static_cast<size_t>(ULL(1351128487744230578)); - TVector<int> testVec = {1, 2, 4, 3}; + TVector<int> testVec = {1, 2, 4, 3}; UNIT_ASSERT_EQUAL(canonicalHash, TRangeHash<>()(testVec)); } inline void TestOneElement() { const int testVal = 42; - TVector<int> testVec = {testVal}; + TVector<int> testVec = {testVal}; UNIT_ASSERT_UNEQUAL(THash<int>()(testVal), TRangeHash<>()(testVec)); } @@ -38,8 +38,8 @@ private: } inline void TestCollectionIndependancy() { - TVector<char> testVec = {'a', 'b', 'c'}; - TString testStroka = "abc"; + TVector<char> testVec = {'a', 'b', 'c'}; + TString testStroka = "abc"; UNIT_ASSERT_EQUAL(TRangeHash<>()(testVec), TRangeHash<>()(testStroka)); } }; |