aboutsummaryrefslogtreecommitdiffstats
path: root/util/digest/fnv_ut.cpp
diff options
context:
space:
mode:
authormvel <mvel@yandex-team.ru>2022-02-10 16:45:41 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:41 +0300
commit43f5a35593ebc9f6bcea619bb170394ea7ae468e (patch)
treee98df59de24d2ef7c77baed9f41e4875a2fef972 /util/digest/fnv_ut.cpp
parentbd30392c4cc92487950adc375c07adf52da1d592 (diff)
downloadydb-43f5a35593ebc9f6bcea619bb170394ea7ae468e.tar.gz
Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/digest/fnv_ut.cpp')
-rw-r--r--util/digest/fnv_ut.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/digest/fnv_ut.cpp b/util/digest/fnv_ut.cpp
index d295586efdd..ce56642b3e1 100644
--- a/util/digest/fnv_ut.cpp
+++ b/util/digest/fnv_ut.cpp
@@ -4,7 +4,7 @@
Y_UNIT_TEST_SUITE(TFnvTest) {
Y_UNIT_TEST(TestFnv32) {
- const auto h32 = ULL(2849763999);
+ const auto h32 = ULL(2849763999);
UNIT_ASSERT_EQUAL(FnvHash<ui32>("1234567", 7), h32);
UNIT_ASSERT_EQUAL(FnvHash<ui32>(TStringBuf("1234567")), h32);
@@ -16,7 +16,7 @@ Y_UNIT_TEST_SUITE(TFnvTest) {
const auto h64 = ULL(2449551094593701855);
UNIT_ASSERT_EQUAL(FnvHash<ui64>("1234567", 7), h64);
UNIT_ASSERT_EQUAL(FnvHash<ui64>(TStringBuf("1234567")), h64);
-
+
UNIT_ASSERT_EQUAL(FnvHash<ui64>(nullptr, 0), FNV64INIT);
UNIT_ASSERT_EQUAL(FnvHash<ui64>(TStringBuf()), FNV64INIT);
}