Lines Matching defs:wcsspn
38 ATF_TC(wcsspn);
39 ATF_TC_HEAD(wcsspn, tc)
41 atf_tc_set_md_var(tc, "descr", "Test wcsspn(3)");
44 ATF_TC_BODY(wcsspn, tc)
46 ATF_CHECK_EQ(wcsspn(L"abcdefghijklmnop", L""), 0);
47 ATF_CHECK_EQ(wcsspn(L"abcdefghijklmnop", L"a"), 1);
48 ATF_CHECK_EQ(wcsspn(L"abcdefghijklmnop", L"b"), 0);
49 ATF_CHECK_EQ(wcsspn(L"abcdefghijklmnop", L"ab"), 2);
50 ATF_CHECK_EQ(wcsspn(L"abcdefghijklmnop", L"abc"), 3);
51 ATF_CHECK_EQ(wcsspn(L"abcdefghijklmnop", L"abce"), 3);
52 ATF_CHECK_EQ(wcsspn(L"abcdefghijklmnop", L"abcdefghijklmnop"), 16);
58 ATF_TP_ADD_TC(tp, wcsspn);