diff options
Diffstat (limited to 'src/compat/iter_test.cpp')
-rw-r--r-- | src/compat/iter_test.cpp | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/src/compat/iter_test.cpp b/src/compat/iter_test.cpp index 647ebf9..a07cb0f 100644 --- a/src/compat/iter_test.cpp +++ b/src/compat/iter_test.cpp @@ -1,10 +1,30 @@ #include "iter.hpp" +// iter_test.cpp - Testsuite for tools for dealing with iterators +// +// Copyright © 2014 Ben Longbons <b.r.longbons@gmail.com> +// +// This file is part of The Mana World (Athena server) +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. #include <gtest/gtest.h> #include "../strings/xstring.hpp" -TEST(iterpair, string) +#include "../poison.hpp" + +TEST(iterpair, strings) { IteratorPair<ValueIterator<char>> pair = value_range('0', ':'); const char *str = "0123456789"; |