aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/iterator/ut/mapped_ut.cpp
diff options
context:
space:
mode:
authormstebelev <mstebelev@yandex-team.ru>2022-02-10 16:47:17 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:17 +0300
commit93e9e4639b6ee2afbdf45cf3927cea6d340e19b0 (patch)
tree9814fbd1c3effac9b8377c5d604b367b14e2db55 /library/cpp/iterator/ut/mapped_ut.cpp
parent5a176099114d03d5669e95a55a3a514bd24dd8b1 (diff)
downloadydb-93e9e4639b6ee2afbdf45cf3927cea6d340e19b0.tar.gz
Restoring authorship annotation for <mstebelev@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/iterator/ut/mapped_ut.cpp')
-rw-r--r--library/cpp/iterator/ut/mapped_ut.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/iterator/ut/mapped_ut.cpp b/library/cpp/iterator/ut/mapped_ut.cpp
index 94b686c119..440cd37945 100644
--- a/library/cpp/iterator/ut/mapped_ut.cpp
+++ b/library/cpp/iterator/ut/mapped_ut.cpp
@@ -1,10 +1,10 @@
#include <library/cpp/iterator/mapped.h>
-
+
#include <library/cpp/testing/gtest/gtest.h>
-
+
#include <util/generic/map.h>
#include <util/generic/vector.h>
-
+
using namespace testing;
TEST(TIterator, TMappedIteratorTest) {
@@ -45,7 +45,7 @@ TEST(TIterator, TOwningMappedMethodTest) {
TVector<std::pair<int, int>>{std::make_pair(1, 2), std::make_pair(3, 4)},
[](auto& point) -> int& {
return point.first;
- }
+ }
);
EXPECT_EQ(range[0], 1);
range[0] += 1;
@@ -54,8 +54,8 @@ TEST(TIterator, TOwningMappedMethodTest) {
EXPECT_EQ(range[0], 3);
for (int& y : range) {
y += 7;
- }
+ }
EXPECT_EQ(*range.begin(), 10);
EXPECT_EQ(*(range.begin() + 1), 10);
-}
+}