aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/is_in_ut.cpp
diff options
context:
space:
mode:
authorAnton Samokhvalov <pg83@yandex.ru>2022-02-10 16:45:15 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:15 +0300
commit72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch)
treeda2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /util/generic/is_in_ut.cpp
parent778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff)
downloadydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/is_in_ut.cpp')
-rw-r--r--util/generic/is_in_ut.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/util/generic/is_in_ut.cpp b/util/generic/is_in_ut.cpp
index c668bce807..77a0a4bd2c 100644
--- a/util/generic/is_in_ut.cpp
+++ b/util/generic/is_in_ut.cpp
@@ -1,18 +1,18 @@
#include <library/cpp/testing/unittest/registar.h>
-#include "algorithm.h"
-#include "hash.h"
-#include "hash_set.h"
-#include "is_in.h"
-#include "map.h"
-#include "set.h"
-#include "strbuf.h"
+#include "algorithm.h"
+#include "hash.h"
+#include "hash_set.h"
+#include "is_in.h"
+#include "map.h"
+#include "set.h"
+#include "strbuf.h"
#include "string.h"
Y_UNIT_TEST_SUITE(TIsIn) {
- template <class TCont, class T>
+ template <class TCont, class T>
void TestIsInWithCont(const T& elem) {
- class TMapMock: public TCont {
+ class TMapMock: public TCont {
public:
typename TCont::const_iterator find(const typename TCont::key_type& k) const {
++FindCalled;
@@ -106,7 +106,7 @@ Y_UNIT_TEST_SUITE(TIsIn) {
}
Y_UNIT_TEST(IsInArrayTest) {
- const TString array[] = {"a", "b", "d"};
+ const TString array[] = {"a", "b", "d"};
UNIT_ASSERT(IsIn(array, "a"));
UNIT_ASSERT(IsIn(array, TString("b")));