aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/set_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/set_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/set_ut.cpp')
-rw-r--r--util/generic/set_ut.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/generic/set_ut.cpp b/util/generic/set_ut.cpp
index 6a8c503608..d2769d327f 100644
--- a/util/generic/set_ut.cpp
+++ b/util/generic/set_ut.cpp
@@ -77,23 +77,23 @@ Y_UNIT_TEST_SUITE(YSetTest) {
TSet<int> const& crs = s;
UNIT_ASSERT(!crs.contains(0));
-
+
s.insert(1);
s.insert(42);
s.insert(100);
s.insert(2);
-
+
UNIT_ASSERT(s.contains(1));
UNIT_ASSERT(s.contains(2));
UNIT_ASSERT(s.contains(42));
UNIT_ASSERT(s.contains(100));
}
-
+
Y_UNIT_TEST(TestBounds) {
int array1[] = {1, 3, 6, 7};
TSet<int> s(array1, array1 + sizeof(array1) / sizeof(array1[0]));
TSet<int> const& crs = s;
-
+
TSet<int>::iterator sit;
TSet<int>::const_iterator scit;
std::pair<TSet<int>::iterator, TSet<int>::iterator> pit;