diff options
author | Anton Samokhvalov <pg83@yandex.ru> | 2022-02-10 16:45:17 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:17 +0300 |
commit | d3a398281c6fd1d3672036cb2d63f842d2cb28c5 (patch) | |
tree | dd4bd3ca0f36b817e96812825ffaf10d645803f2 /util/generic/is_in_ut.cpp | |
parent | 72cb13b4aff9bc9cf22e49251bc8fd143f82538f (diff) | |
download | ydb-d3a398281c6fd1d3672036cb2d63f842d2cb28c5.tar.gz |
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/is_in_ut.cpp')
-rw-r--r-- | util/generic/is_in_ut.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/util/generic/is_in_ut.cpp b/util/generic/is_in_ut.cpp index 77a0a4bd2c..c668bce807 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"))); |