Lines Matching defs:split
158 ATF_TEST_CASE(split);
159 ATF_TEST_CASE_HEAD(split)
161 set_md_var("descr", "Tests the split function");
163 ATF_TEST_CASE_BODY(split)
165 using atf::text::split;
169 words = split("", " ");
172 words = split(" ", " ");
175 words = split(" ", " ");
178 words = split("a b", " ");
183 words = split("a b c d", " ");
190 words = split("foo bar", " ");
195 words = split("foo bar baz foobar", " ");
202 words = split(" foo bar", " ");
207 words = split("foo bar", " ");
212 words = split("foo bar ", " ");
217 words = split(" foo bar ", " ");
226 set_md_var("descr", "Tests the split function using different delimiters");
230 using atf::text::split;
234 words = split("", "/");
237 words = split(" ", "/");
241 words = split(" ", "/");
245 words = split("a/b", "/");
250 words = split("aLONGDELIMbcdLONGDELIMef", "LONGDELIM");
379 ATF_ADD_TEST_CASE(tcs, split);