7 #define BOOST_TEST_MODULE (split_by_regex test) 8 #include "boost/test/unit_test.hpp" 17 BOOST_AUTO_TEST_SUITE(split_by_regex_test)
22 BOOST_TEST(v.size() == 1ul);
28 BOOST_TEST(v.size() == 1ul);
29 BOOST_TEST(v[0] ==
"a");
35 BOOST_TEST(v.size() == 1ul);
36 BOOST_TEST(v[0] ==
"a");
70 "namespace::class::static_function().value", R
"((::|\(\)\.))"); 72 "namespace",
"class",
"static_function",
"value"};
83 BOOST_AUTO_TEST_SUITE_END()
std::vector< std::string > split_by_regex(std::string const &str, std::regex const &reDelimSet)
std::vector< std::string > string_vector
BOOST_AUTO_TEST_CASE(empty_string_test)