aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/vector_ut.cpp
diff options
context:
space:
mode:
authorAlexSm <alex@ydb.tech>2024-08-19 16:16:30 +0200
committerGitHub <noreply@github.com>2024-08-19 17:16:30 +0300
commit9b567afd3339f4525feab53873592cb025b14251 (patch)
tree5c8489f98dc5a9a10f66065055e5a401bbd14767 /util/generic/vector_ut.cpp
parent47bd121575c210d4bbb2dddcc2131759a694df05 (diff)
downloadydb-9b567afd3339f4525feab53873592cb025b14251.tar.gz
Library import 240819-0942 (#7994)
Co-authored-by: robot-piglet <robot-piglet@yandex-team.com> Co-authored-by: hiddenpath <hiddenpath@yandex-team.com> Co-authored-by: bulatman <bulatman@yandex-team.com> Co-authored-by: robot-contrib <robot-contrib@yandex-team.com> Co-authored-by: osidorkin <osidorkin@yandex-team.com> Co-authored-by: akhropov <akhropov@yandex-team.com> Co-authored-by: akozhikhov <akozhikhov@yandex-team.com> Co-authored-by: orlovorlov <orlovorlov@yandex-team.com> Co-authored-by: babenko <babenko@yandex-team.com> Co-authored-by: shadchin <shadchin@yandex-team.com> Co-authored-by: dmasloff <dmasloff@yandex-team.com> Co-authored-by: aleksei-le <aleksei-le@yandex-team.com> Co-authored-by: coteeq <coteeq@yandex-team.com> Co-authored-by: dimdim11 <dimdim11@yandex-team.com> Co-authored-by: robot-ya-builder <robot-ya-builder@yandex-team.com> Co-authored-by: iaz1607 <iaz1607@yandex-team.com>
Diffstat (limited to 'util/generic/vector_ut.cpp')
-rw-r--r--util/generic/vector_ut.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/util/generic/vector_ut.cpp b/util/generic/vector_ut.cpp
index 63b10edab5..21c5853fd7 100644
--- a/util/generic/vector_ut.cpp
+++ b/util/generic/vector_ut.cpp
@@ -25,7 +25,7 @@ class TYVectorTest: public TTestBase {
UNIT_TEST(TestAutoRef)
UNIT_TEST(TestIterators)
UNIT_TEST(TestShrink)
- //UNIT_TEST(TestEbo)
+ // UNIT_TEST(TestEbo)
UNIT_TEST(TestFillInConstructor)
UNIT_TEST(TestYResize)
UNIT_TEST(TestCrop)
@@ -283,7 +283,7 @@ private:
v.clear();
UNIT_ASSERT(v.empty());
- //check that clear save reserved data
+ // check that clear save reserved data
UNIT_ASSERT_EQUAL(curCapacity, v.capacity());
v.insert(v.begin(), 5, 10);
@@ -318,7 +318,7 @@ private:
}
{
- //Test that used to generate an assertion when using __debug_alloc.
+ // Test that used to generate an assertion when using __debug_alloc.
TVector<TestStruct> va;
va.reserve(1);
va.reserve(2);
@@ -397,14 +397,14 @@ private:
UNIT_ASSERT(vint.rbegin() == vint.rbegin());
// Not Standard:
- //UNIT_ASSERT(vint.rbegin() == crvint.rbegin());
- //UNIT_ASSERT(crvint.rbegin() == vint.rbegin());
+ // UNIT_ASSERT(vint.rbegin() == crvint.rbegin());
+ // UNIT_ASSERT(crvint.rbegin() == vint.rbegin());
UNIT_ASSERT(crvint.rbegin() == crvint.rbegin());
UNIT_ASSERT(vint.rbegin() != vint.rend());
// Not Standard:
- //UNIT_ASSERT(vint.rbegin() != crvint.rend());
- //UNIT_ASSERT(crvint.rbegin() != vint.rend());
+ // UNIT_ASSERT(vint.rbegin() != crvint.rend());
+ // UNIT_ASSERT(crvint.rbegin() != vint.rend());
UNIT_ASSERT(crvint.rbegin() != crvint.rend());
}