aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/containers
diff options
context:
space:
mode:
authoralbert <albert@yandex-team.ru>2022-02-10 16:48:15 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:15 +0300
commita817f5de12611ec73085eba17f8ec7740a46bdb7 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/containers
parent9f25ef3232c288ca664ceee6c376cf64e4349a2e (diff)
downloadydb-a817f5de12611ec73085eba17f8ec7740a46bdb7.tar.gz
Restoring authorship annotation for <albert@yandex-team.ru>. Commit 2 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 9eaffb4ce5..7d413d6575 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 ef89065155..74bee09b5d 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());