aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib/encode/buffered/string_pool_ut.cpp
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:25 +0300
commit344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/monlib/encode/buffered/string_pool_ut.cpp
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
downloadydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/monlib/encode/buffered/string_pool_ut.cpp')
-rw-r--r--library/cpp/monlib/encode/buffered/string_pool_ut.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/monlib/encode/buffered/string_pool_ut.cpp b/library/cpp/monlib/encode/buffered/string_pool_ut.cpp
index 8dc61d0113..9fc3421d0b 100644
--- a/library/cpp/monlib/encode/buffered/string_pool_ut.cpp
+++ b/library/cpp/monlib/encode/buffered/string_pool_ut.cpp
@@ -63,22 +63,22 @@ Y_UNIT_TEST_SUITE(TStringPoolTest) {
strPool.Build();
- TVector<TString> strings;
- TVector<ui32> indexes;
- TVector<ui32> frequences;
+ TVector<TString> strings;
+ TVector<ui32> indexes;
+ TVector<ui32> frequences;
strPool.ForEach([&](TStringBuf str, ui32 index, ui32 freq) {
strings.emplace_back(str);
indexes.push_back(index);
frequences.push_back(freq);
});
- TVector<TString> expectedStrings = {"three", "two", "one"};
+ TVector<TString> expectedStrings = {"three", "two", "one"};
UNIT_ASSERT_EQUAL(strings, expectedStrings);
- TVector<ui32> expectedIndexes = {0, 1, 2};
+ TVector<ui32> expectedIndexes = {0, 1, 2};
UNIT_ASSERT_EQUAL(indexes, expectedIndexes);
- TVector<ui32> expectedFrequences = {3, 2, 1};
+ TVector<ui32> expectedFrequences = {3, 2, 1};
UNIT_ASSERT_EQUAL(frequences, expectedFrequences);
}
}