aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/containers
diff options
context:
space:
mode:
authoralbert <albert@yandex-team.ru>2022-02-10 16:48:14 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:14 +0300
commit9f25ef3232c288ca664ceee6c376cf64e4349a2e (patch)
treeb192eaf3150845f7302fafd460a972b0439d6fe5 /library/cpp/containers
parent6a1e535429145ec1ecfbc5f1efd3c95323261fb5 (diff)
downloadydb-9f25ef3232c288ca664ceee6c376cf64e4349a2e.tar.gz
Restoring authorship annotation for <albert@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/containers')
-rw-r--r--library/cpp/containers/compact_vector/compact_vector_ut.cpp20
-rw-r--r--library/cpp/containers/comptrie/comptrie_ut.cpp14
2 files changed, 17 insertions, 17 deletions
diff --git a/library/cpp/containers/compact_vector/compact_vector_ut.cpp b/library/cpp/containers/compact_vector/compact_vector_ut.cpp
index 7d413d6575..9eaffb4ce5 100644
--- a/library/cpp/containers/compact_vector/compact_vector_ut.cpp
+++ b/library/cpp/containers/compact_vector/compact_vector_ut.cpp
@@ -26,21 +26,21 @@ Y_UNIT_TEST_SUITE(TCompactVectorTest) {
vector.Insert(vector.Begin(), 99);
- UNIT_ASSERT_VALUES_EQUAL(11u, vector.Size());
- UNIT_ASSERT_VALUES_EQUAL(99u, vector[0]);
+ UNIT_ASSERT_VALUES_EQUAL(11u, vector.Size());
+ UNIT_ASSERT_VALUES_EQUAL(99u, vector[0]);
for (ui32 i = 0; i < 10; ++i) {
UNIT_ASSERT_VALUES_EQUAL(i + 2, vector[i + 1]);
}
vector.Insert(vector.Begin() + 3, 77);
- UNIT_ASSERT_VALUES_EQUAL(12u, vector.Size());
- UNIT_ASSERT_VALUES_EQUAL(99u, vector[0]);
- UNIT_ASSERT_VALUES_EQUAL(2u, vector[1]);
- UNIT_ASSERT_VALUES_EQUAL(3u, vector[2]);
- UNIT_ASSERT_VALUES_EQUAL(77u, vector[3]);
- UNIT_ASSERT_VALUES_EQUAL(4u, vector[4]);
- UNIT_ASSERT_VALUES_EQUAL(5u, vector[5]);
- UNIT_ASSERT_VALUES_EQUAL(11u, vector[11]);
+ UNIT_ASSERT_VALUES_EQUAL(12u, vector.Size());
+ UNIT_ASSERT_VALUES_EQUAL(99u, vector[0]);
+ UNIT_ASSERT_VALUES_EQUAL(2u, vector[1]);
+ UNIT_ASSERT_VALUES_EQUAL(3u, vector[2]);
+ UNIT_ASSERT_VALUES_EQUAL(77u, vector[3]);
+ UNIT_ASSERT_VALUES_EQUAL(4u, vector[4]);
+ UNIT_ASSERT_VALUES_EQUAL(5u, vector[5]);
+ UNIT_ASSERT_VALUES_EQUAL(11u, vector[11]);
}
}
diff --git a/library/cpp/containers/comptrie/comptrie_ut.cpp b/library/cpp/containers/comptrie/comptrie_ut.cpp
index 74bee09b5d..ef89065155 100644
--- a/library/cpp/containers/comptrie/comptrie_ut.cpp
+++ b/library/cpp/containers/comptrie/comptrie_ut.cpp
@@ -870,13 +870,13 @@ void TCompactTrieTest::TestMergeFromFile() {
}
TCompactTrie<> trie(TBlob::FromFileSingleThreaded(GetSystemTempDir() + "/TCompactTrieTest-TestMerge-res"));
- UNIT_ASSERT_VALUES_EQUAL(12u, trie.Get("ru.yandex"));
- UNIT_ASSERT_VALUES_EQUAL(13u, trie.Get("ru.google"));
- UNIT_ASSERT_VALUES_EQUAL(14u, trie.Get("ru.mail"));
- UNIT_ASSERT_VALUES_EQUAL(22u, trie.Get("org.kernel"));
- UNIT_ASSERT_VALUES_EQUAL(112u, trie.Get("com.yandex"));
- UNIT_ASSERT_VALUES_EQUAL(113u, trie.Get("com.google"));
- UNIT_ASSERT_VALUES_EQUAL(114u, trie.Get("com.yahoo"));
+ UNIT_ASSERT_VALUES_EQUAL(12u, trie.Get("ru.yandex"));
+ UNIT_ASSERT_VALUES_EQUAL(13u, trie.Get("ru.google"));
+ UNIT_ASSERT_VALUES_EQUAL(14u, trie.Get("ru.mail"));
+ UNIT_ASSERT_VALUES_EQUAL(22u, trie.Get("org.kernel"));
+ UNIT_ASSERT_VALUES_EQUAL(112u, trie.Get("com.yandex"));
+ UNIT_ASSERT_VALUES_EQUAL(113u, trie.Get("com.google"));
+ UNIT_ASSERT_VALUES_EQUAL(114u, trie.Get("com.yahoo"));
unlink((GetSystemTempDir() + "/TCompactTrieTest-TestMerge-res").data());
unlink((GetSystemTempDir() + "/TCompactTrieTest-TestMerge-com").data());