#ifndef test_DStringUtils_h #define test_DStringUtils_h #include "DStringUtils.h" #include #include #include "Tests/tests_macros.h" using namespace std; using namespace ccdb; bool test_DStringUtils() { TESTS_INIT(" - - - DStringUtils tests - - - ") //simple tokenize vector tokens = DStringUtils::SplitStringToData( " 123 123.12 555 #jhon 987"); cout< outArray; string blob = "10|20|30|40|50|30e-2"; DStringUtils::Split(blob,outArray, "|"); TITLE("split 10|20|30|40|50|30e-2"); TEST(outArray[5] == "30e-2") return true; } #endif //test_DStringUtils_h