Lines Matching refs:wcscasecmp
28 __FBSDID("$FreeBSD: releng/10.2/tools/regression/lib/libc/string/test-wcscasecmp.c 189140 2009-02-28 06:34:04Z das $");
45 assert(wcscasecmp(L"", L"") == 0);
48 printf("ok 1 - wcscasecmp\n");
50 assert(wcscasecmp(L"abc", L"abc") == 0);
51 assert(wcscasecmp(L"ABC", L"ABC") == 0);
52 assert(wcscasecmp(L"abc", L"ABC") == 0);
53 assert(wcscasecmp(L"ABC", L"abc") == 0);
54 printf("ok 2 - wcscasecmp\n");
56 assert(wcscasecmp(L"abc", L"xyz") < 0);
57 assert(wcscasecmp(L"ABC", L"xyz") < 0);
58 assert(wcscasecmp(L"abc", L"XYZ") < 0);
59 assert(wcscasecmp(L"ABC", L"XYZ") < 0);
60 assert(wcscasecmp(L"xyz", L"abc") > 0);
61 assert(wcscasecmp(L"XYZ", L"abc") > 0);
62 assert(wcscasecmp(L"xyz", L"ABC") > 0);
63 assert(wcscasecmp(L"XYZ", L"ABC") > 0);
64 printf("ok 3 - wcscasecmp\n");
66 assert(wcscasecmp(L"abc", L"ABCD") < 0);
67 assert(wcscasecmp(L"ABC", L"abcd") < 0);
68 assert(wcscasecmp(L"abcd", L"ABC") > 0);
69 assert(wcscasecmp(L"ABCD", L"abc") > 0);
70 printf("ok 4 - wcscasecmp\n");
80 assert(wcscasecmp(L"��", L"��") != 0);
82 assert(wcscasecmp(L"��", L"��") == 0);
83 assert(wcscasecmp(L"��", L"��") < 0);
84 assert(wcscasecmp(L"��", L"��") > 0);