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 /library/cpp/charset/ci_string_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 'library/cpp/charset/ci_string_ut.cpp')
-rw-r--r-- | library/cpp/charset/ci_string_ut.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/library/cpp/charset/ci_string_ut.cpp b/library/cpp/charset/ci_string_ut.cpp index 693427184d..3d2a53d5fe 100644 --- a/library/cpp/charset/ci_string_ut.cpp +++ b/library/cpp/charset/ci_string_ut.cpp @@ -1,23 +1,23 @@ -#include "ci_string.h" - +#include "ci_string.h" + #include <util/generic/hash.h> -#include <util/generic/string_ut.h> - -class TCaseStringTest: public TTestBase, private TStringTestImpl<TCiString, TTestData<char>> { -public: - void TestSpecial() { - TCiString ss = Data._0123456(); // type 'TCiString' is used as is +#include <util/generic/string_ut.h> + +class TCaseStringTest: public TTestBase, private TStringTestImpl<TCiString, TTestData<char>> { +public: + void TestSpecial() { + TCiString ss = Data._0123456(); // type 'TCiString' is used as is size_t hash_val = ComputeHash(ss); - UNIT_ASSERT(hash_val == 1489244); - } - -public: - UNIT_TEST_SUITE(TCaseStringTest); - UNIT_TEST(TestOperators); - UNIT_TEST(TestOperatorsCI); - - UNIT_TEST(TestSpecial); - UNIT_TEST_SUITE_END(); -}; - -UNIT_TEST_SUITE_REGISTRATION(TCaseStringTest); + UNIT_ASSERT(hash_val == 1489244); + } + +public: + UNIT_TEST_SUITE(TCaseStringTest); + UNIT_TEST(TestOperators); + UNIT_TEST(TestOperatorsCI); + + UNIT_TEST(TestSpecial); + UNIT_TEST_SUITE_END(); +}; + +UNIT_TEST_SUITE_REGISTRATION(TCaseStringTest); |