Lines Matching defs:wcscspn
38 ATF_TC(wcscspn);
39 ATF_TC_HEAD(wcscspn, tc)
41 atf_tc_set_md_var(tc, "descr", "Test wcscspn(3)");
44 ATF_TC_BODY(wcscspn, tc)
46 ATF_CHECK_EQ(wcscspn(L"abcdefghijklmnop", L""), 16);
47 ATF_CHECK_EQ(wcscspn(L"abcdefghijklmnop", L"a"), 0);
48 ATF_CHECK_EQ(wcscspn(L"abcdefghijklmnop", L"b"), 1);
49 ATF_CHECK_EQ(wcscspn(L"abcdefghijklmnop", L"cd"), 2);
50 ATF_CHECK_EQ(wcscspn(L"abcdefghijklmnop", L"qrstuvwxyz"), 16);
56 ATF_TP_ADD_TC(tp, wcscspn);