aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/map_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/generic/map_ut.cpp
parentbd30392c4cc92487950adc375c07adf52da1d592 (diff)
downloadydb-43f5a35593ebc9f6bcea619bb170394ea7ae468e.tar.gz
Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/map_ut.cpp')
-rw-r--r--util/generic/map_ut.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/util/generic/map_ut.cpp b/util/generic/map_ut.cpp
index 7808192e74..79e832b024 100644
--- a/util/generic/map_ut.cpp
+++ b/util/generic/map_ut.cpp
@@ -5,35 +5,35 @@
#include <algorithm>
Y_UNIT_TEST_SUITE(TYMapTest) {
- template <typename TAlloc>
+ template <typename TAlloc>
void DoTestMap1(TMap<char, int, TLess<char>, TAlloc>& m);
- template <typename TAlloc>
+ template <typename TAlloc>
void DoTestMMap1(TMultiMap<char, int, TLess<char>, TAlloc>& mm);
Y_UNIT_TEST(TestMap1) {
- {
+ {
TMap<char, int, TLess<char>> m;
- DoTestMap1(m);
+ DoTestMap1(m);
}
- {
- TMemoryPool p(100);
+ {
+ TMemoryPool p(100);
TMap<char, int, TLess<char>, TPoolAllocator> m(&p);
- DoTestMap1(m);
- }
- }
+ DoTestMap1(m);
+ }
+ }
Y_UNIT_TEST(TestMMap1) {
- {
+ {
TMultiMap<char, int, TLess<char>> mm;
- DoTestMMap1(mm);
+ DoTestMMap1(mm);
}
- {
- TMemoryPool p(100);
+ {
+ TMemoryPool p(100);
TMultiMap<char, int, TLess<char>, TPoolAllocator> mm(&p);
- DoTestMMap1(mm);
- }
- }
+ DoTestMMap1(mm);
+ }
+ }
template <typename TAlloc>
void DoTestMap1(TMap<char, int, TLess<char>, TAlloc>& m) {