diff --git a/CMakeLists.txt b/CMakeLists.txt index 3c9bbeb..8498ca1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,6 +27,9 @@ cm_example_project("DataType" CollectionTest) add_executable(SplitStringTest datatype/SplitStringTest.cpp) cm_example_project("DataType" SplitStringTest) +add_executable(StrChrTest datatype/strchr_test.cpp) +cm_example_project("DataType" StrChrTest) + add_executable(MultiMapTest datatype/MultiMapTest.cpp) cm_example_project("DataType" MultiMapTest) diff --git a/datatype/strchr_test.cpp b/datatype/strchr_test.cpp new file mode 100644 index 0000000..f26a605 --- /dev/null +++ b/datatype/strchr_test.cpp @@ -0,0 +1,43 @@ +#include +#include +#include + +void out(const char *source,const char *result) +{ + std::cout<