diff options
Diffstat (limited to 'localedata/tests-mbwc/dat_wcsncmp.c')
-rw-r--r-- | localedata/tests-mbwc/dat_wcsncmp.c | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/localedata/tests-mbwc/dat_wcsncmp.c b/localedata/tests-mbwc/dat_wcsncmp.c index 4e0b0c2ac1..1d5d248e1d 100644 --- a/localedata/tests-mbwc/dat_wcsncmp.c +++ b/localedata/tests-mbwc/dat_wcsncmp.c @@ -13,39 +13,39 @@ TST_WCSNCMP tst_wcsncmp_loc [] = { { { /*input.*/ { { 0x00D1,0x00D2,0x00D3,0x0000 }, { 0x00D1,0x00D2,0x00D3,0x0000 }, 4 }, /* #01 */ - /*expect*/ { 0,0,1,0, }, + /*expect*/ { 0,1,0, }, }, { /*input.*/ { { 0x00D1,0x00D2,0x00D3,0x0000 }, { 0x00D1,0x00D2,0x00D3,0x0000 }, 3 }, /* #02 */ - /*expect*/ { 0,0,1,0, }, + /*expect*/ { 0,1,0, }, }, { /*input.*/ { { 0x00D1,0x00D2,0x00D1,0x0000 }, { 0x00D1,0x00D2,0x00D3,0x0000 }, 2 }, /* #03 */ - /*expect*/ { 0,0,1,0, }, + /*expect*/ { 0,1,0, }, }, { /*input.*/ { { 0x00D1,0x00D2,0x00D3,0x0000 }, { 0x00D0,0x00D2,0x00D3,0x0000 }, 0 }, /* #04 */ - /*expect*/ { 0,0,1,0, }, + /*expect*/ { 0,1,0, }, }, { /*input.*/ { { 0x0000,0x00D2,0x00D3,0x0000 }, { 0x0000,0x00D2,0x00D1,0x0000 }, 3 }, /* #05 */ - /*expect*/ { 0,0,1,0, }, + /*expect*/ { 0,1,0, }, }, { /*input.*/ { { 0x00D1,0x00D2,0x00D3,0x0000 }, { 0x0000,0x00D2,0x00D3,0x0000 }, 3 }, /* #06 */ - /*expect*/ { 0,0,1,0x00D1, }, + /*expect*/ { 0,1,0x00D1, }, }, { /*input.*/ { { 0x00D1,0x00D2,0x00D3,0x0000 }, { 0x00D1,0x00D2,0x00D9,0x0000 }, 2 }, /* #07 */ - /*expect*/ { 0,0,1,0, }, + /*expect*/ { 0,1,0, }, }, { /*input.*/ { { 0x00D1,0x00D2,0x00D3,0x0000 }, { 0x00D1,0x00D2,0x00D9,0x0000 }, 3 }, /* #08 */ - /*expect*/ { 0,0,1,-0x0006, }, + /*expect*/ { 0,1,-0x0006, }, }, { /*input.*/ { { 0x00D1,0x00D2,0x00D3,0x0000 }, { 0x00D1,0x00D2,0x0000 }, 4 }, /* #09 */ - /*expect*/ { 0,0,1,0x00D3, }, + /*expect*/ { 0,1,0x00D3, }, }, { is_last: 1 } } @@ -55,39 +55,39 @@ TST_WCSNCMP tst_wcsncmp_loc [] = { { { /*input.*/ { { 0x0041,0x0042,0x0043,0x0000 }, { 0x0041,0x0042,0x0043,0x0000 }, 4 }, /* #01 */ - /*expect*/ { 0,0,1,0, }, + /*expect*/ { 0,1,0, }, }, { /*input.*/ { { 0x0041,0x0042,0x0043,0x0000 }, { 0x0041,0x0042,0x0043,0x0000 }, 3 }, /* #02 */ - /*expect*/ { 0,0,1,0, }, + /*expect*/ { 0,1,0, }, }, { /*input.*/ { { 0x0041,0x0042,0x0041,0x0000 }, { 0x0041,0x0042,0x0043,0x0000 }, 2 }, /* #03 */ - /*expect*/ { 0,0,1,0, }, + /*expect*/ { 0,1,0, }, }, { /*input.*/ { { 0x0041,0x0042,0x0043,0x0000 }, { 0x0040,0x0042,0x0043,0x0000 }, 0 }, /* #04 */ - /*expect*/ { 0,0,1,0, }, + /*expect*/ { 0,1,0, }, }, { /*input.*/ { { 0x0000,0x0042,0x0043,0x0000 }, { 0x0000,0x0042,0x0041,0x0000 }, 3 }, /* #05 */ - /*expect*/ { 0,0,1,0, }, + /*expect*/ { 0,1,0, }, }, { /*input.*/ { { 0x0041,0x0042,0x0043,0x0000 }, { 0x0000,0x0042,0x0043,0x0000 }, 3 }, /* #06 */ - /*expect*/ { 0,0,1,0x0041, }, + /*expect*/ { 0,1,0x0041, }, }, { /*input.*/ { { 0x0041,0x0042,0x0043,0x0000 }, { 0x0041,0x0042,0x0049,0x0000 }, 2 }, /* #07 */ - /*expect*/ { 0,0,1,0, }, + /*expect*/ { 0,1,0, }, }, { /*input.*/ { { 0x0041,0x0042,0x0043,0x0000 }, { 0x0041,0x0042,0x0049,0x0000 }, 3 }, /* #08 */ - /*expect*/ { 0,0,1,-0x0006, }, + /*expect*/ { 0,1,-0x0006, }, }, { /*input.*/ { { 0x0041,0x0042,0x0043,0x0000 }, { 0x0041,0x0042,0x0000 }, 4 }, /* #09 */ - /*expect*/ { 0,0,1,0x0043, }, + /*expect*/ { 0,1,0x0043, }, }, { is_last: 1 } } @@ -97,39 +97,39 @@ TST_WCSNCMP tst_wcsncmp_loc [] = { { { /*input.*/ { { 0x3041,0x3042,0x3043,0x0000 }, { 0x3041,0x3042,0x3043,0x0000 }, 4 }, /* #01 */ - /*expect*/ { 0,0,1,0, }, + /*expect*/ { 0,1,0, }, }, { /*input.*/ { { 0x3041,0x3042,0x3043,0x0000 }, { 0x3041,0x3042,0x3043,0x0000 }, 3 }, /* #02 */ - /*expect*/ { 0,0,1,0, }, + /*expect*/ { 0,1,0, }, }, { /*input.*/ { { 0x3041,0x3042,0x3041,0x0000 }, { 0x3041,0x3042,0x3043,0x0000 }, 2 }, /* #03 */ - /*expect*/ { 0,0,1,0, }, + /*expect*/ { 0,1,0, }, }, { /*input.*/ { { 0x3041,0x3042,0x3043,0x0000 }, { 0x3040,0x3042,0x3043,0x0000 }, 0 }, /* #04 */ - /*expect*/ { 0,0,1,0, }, + /*expect*/ { 0,1,0, }, }, { /*input.*/ { { 0x0000,0x3042,0x3043,0x0000 }, { 0x0000,0x3042,0x3041,0x0000 }, 3 }, /* #05 */ - /*expect*/ { 0,0,1,0, }, + /*expect*/ { 0,1,0, }, }, { /*input.*/ { { 0x3041,0x3042,0x3043,0x0000 }, { 0x0000,0x3042,0x3043,0x0000 }, 3 }, /* #06 */ - /*expect*/ { 0,0,1,0x3041, }, + /*expect*/ { 0,1,0x3041, }, }, { /*input.*/ { { 0x3041,0x3042,0x3043,0x0000 }, { 0x3041,0x3042,0x3049,0x0000 }, 2 }, /* #07 */ - /*expect*/ { 0,0,1,0, }, + /*expect*/ { 0,1,0, }, }, { /*input.*/ { { 0x3041,0x3042,0x3043,0x0000 }, { 0x3041,0x3042,0x3049,0x0000 }, 3 }, /* #08 */ - /*expect*/ { 0,0,1,-0x0006, }, + /*expect*/ { 0,1,-0x0006, }, }, { /*input.*/ { { 0x3041,0x3042,0x3043,0x0000 }, { 0x3041,0x3042,0x0000 }, 4 }, /* #09 */ - /*expect*/ { 0,0,1,0x3043, }, + /*expect*/ { 0,1,0x3043, }, }, { is_last: 1 } } |