diff options
author | somov <[email protected]> | 2022-02-10 16:45:49 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:45:49 +0300 |
commit | 7489e4682331202b9c7d863c0898eb83d7b12c2b (patch) | |
tree | 9142afc54d335ea52910662635b898e79e192e49 /util/digest/sequence_ut.cpp | |
parent | a5950576e397b1909261050b8c7da16db58f10b1 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/digest/sequence_ut.cpp')
-rw-r--r-- | util/digest/sequence_ut.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/digest/sequence_ut.cpp b/util/digest/sequence_ut.cpp index b12f72df9cf..87d6102ee59 100644 --- a/util/digest/sequence_ut.cpp +++ b/util/digest/sequence_ut.cpp @@ -15,12 +15,12 @@ class TRangeHashTest: public TTestBase { private: inline void TestStrokaInt() { - const size_t canonicalHash = static_cast<size_t>(ULL(12727184940294366172)); + const size_t canonicalHash = static_cast<size_t>(ULL(12727184940294366172)); UNIT_ASSERT_EQUAL(canonicalHash, TRangeHash<>()(TString("12345"))); } inline void TestIntVector() { - const size_t canonicalHash = static_cast<size_t>(ULL(1351128487744230578)); + const size_t canonicalHash = static_cast<size_t>(ULL(1351128487744230578)); TVector<int> testVec = {1, 2, 4, 3}; UNIT_ASSERT_EQUAL(canonicalHash, TRangeHash<>()(testVec)); } @@ -52,7 +52,7 @@ class TSequenceHashTest: public TTestBase { private: inline void TestSimpleBuffer() { int arr[] = {1, 2, 3}; - const size_t canonicalHash = static_cast<size_t>(ULL(3903918011533391876)); + const size_t canonicalHash = static_cast<size_t>(ULL(3903918011533391876)); TContiguousHash<TSimpleRangeHash> hasher; UNIT_ASSERT_EQUAL(canonicalHash, hasher(TArrayRef<int>(arr, arr + 3))); } |