summaryrefslogtreecommitdiff
path: root/test/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/utils.cpp')
-rw-r--r--test/utils.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/utils.cpp b/test/utils.cpp
index 129807a6..58b5a59d 100644
--- a/test/utils.cpp
+++ b/test/utils.cpp
@@ -276,6 +276,14 @@ protected:
return TestFail;
}
+ const auto &split = utils::split(path, ":");
+ dirs = std::vector<std::string>{ split.begin(), split.end() };
+
+ if (dirs != elements) {
+ cerr << "utils::split() LegacyInputIterator test failed" << endl;
+ return TestFail;
+ }
+
/* utils::join() with conversion function test. */
std::vector<Size> sizes = { { 0, 0 }, { 100, 100 } };
s = utils::join(sizes, "/", [](const Size &size) {