Shlwapi: Add IntlStrEqWorker Functions and StrCmp Tests
Alexandre Julliard
julliard at winehq.org
Thu Feb 12 15:04:46 CST 2004
Robert Shearman <R.J.Shearman at warwick.ac.uk> writes:
> +void test_StrCmpA(void)
> +{
> + static const char str1[] = {'a','b','c','d','e','f',0x81,'a',0};
> + static const char str2[] = {'a','b','c','d','e','f',0x81,'b',0};
> + static const char str3[] = {'a','B','c','d','e','f',0x81,'a',0};
> + WORD dbcs1 = 0x81 | 'a' << 8;
> + WORD dbcs2 = 0x81 | 'b' << 8;
DBCS chars depend on the locale, you cannot hardcode them in the test.
--
Alexandre Julliard
julliard at winehq.com
More information about the wine-devel
mailing list