aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/intrlist_ut.cpp
diff options
context:
space:
mode:
authorleo <leo@yandex-team.ru>2022-02-10 16:46:40 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:40 +0300
commit980edcd3304699edf9d4e4d6a656e585028e2a72 (patch)
tree139f47f3911484ae9af0eb347b1a88bd6c4bb35f /util/generic/intrlist_ut.cpp
parentb036a557f285146e5e35d4213e29a094ab907bcf (diff)
downloadydb-980edcd3304699edf9d4e4d6a656e585028e2a72.tar.gz
Restoring authorship annotation for <leo@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/intrlist_ut.cpp')
-rw-r--r--util/generic/intrlist_ut.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/generic/intrlist_ut.cpp b/util/generic/intrlist_ut.cpp
index eff7cdf2ee..2d4a1a44df 100644
--- a/util/generic/intrlist_ut.cpp
+++ b/util/generic/intrlist_ut.cpp
@@ -236,12 +236,12 @@ static void CheckIterationAfterCut(const TMyList& l, const TMyList& l2, size_t N
UNIT_ASSERT_EQUAL(c, 0);
}
-static void TestCutFront(int N, int M) {
+static void TestCutFront(int N, int M) {
TMyList l(N);
TMyList l2(0);
TMyList::TIterator it = l.Begin();
- for (int i = 0; i < M; ++i) {
+ for (int i = 0; i < M; ++i) {
++it;
}
@@ -249,12 +249,12 @@ static void TestCutFront(int N, int M) {
CheckIterationAfterCut(l2, l, N, M);
}
-static void TestCutBack(int N, int M) {
+static void TestCutBack(int N, int M) {
TMyList l(N);
TMyList l2(0);
TMyList::TIterator it = l.Begin();
- for (int i = 0; i < M; ++i) {
+ for (int i = 0; i < M; ++i) {
++it;
}
@@ -291,7 +291,7 @@ static void CheckIterationAfterAppend(const TMyList& l, size_t N, size_t M) {
UNIT_ASSERT_EQUAL(it, l.End());
}
-static void TestAppend(int N, int M) {
+static void TestAppend(int N, int M) {
TMyList l(N);
TMyList l2(M);
l.Append(l2);