11 Nov
2019
11 Nov
'19
6:54 p.m.
Jacek Caban <jacek(a)codeweavers.com> writes:
@@ -1455,6 +1459,30 @@ static void test__strnicmp(void) ok(!ret, "_strnicmp returned %d\n", ret); }
+static void test_iswdigit(void) +{ + static const struct { + WCHAR c; + int r; + } tests[] = { + { '0', C1_DIGIT }, + { '9', C1_DIGIT }, + { 'a', 0 }, + { 0xff16, 0 }, + { 0x0660, 0 }, + { 0x0660, 0 }, + { 0x0660, 0 },
Did you mean to try different values here? It would be interesting to test if the other isw* functions are also limited to ASCII. -- Alexandre Julliard julliard(a)winehq.org