2.9
[glibc/nacl-glibc.git] / localedata / tests-mbwc / dat_wcstod.c
blob4b0faba2fc4004d39f82c60b1660509f74f66ccd
1 /*
2 * TEST SUITE FOR MB/WC FUNCTIONS IN CLIBRARY
4 * FILE: dat_wcstod.c
6 * WCSTOD: double wcstod (const wchar_t *np, wchar_t **endp);
7 */
11 * NOTE:
12 * need more test data!
17 TST_WCSTOD tst_wcstod_loc [] = {
19 { Twcstod, TST_LOC_de },
22 /*01*/
23 /*I*/
24 {{ 0x0030,0x0030,0x0030,0x002C,0x0030,0x0030,0x0030,0x0030,0x0000 }},
25 /*E*/
26 { 0,1,0.0, 0.0, 0x0000 }
29 /*02*/
30 /*I*/
31 {{ 0x0031,0x0032,0x0033,0x002C,0x0034,0x0035,0x0036,0x0040,0x0000 }},
32 /*E*/
33 { 0,1,123.456, 123.456, 0x0040 }
35 { .is_last = 1 }
39 { Twcstod, TST_LOC_enUS },
42 /*01*/
43 /*I*/
44 {{ 0x0030,0x0030,0x0030,0x002E,0x0030,0x0030,0x0030,0x0030,0x0000 }},
45 /*E*/
46 { 0,1,0.0, 0.0, 0x0000 }
49 /*02*/
50 /*I*/
51 {{ 0x0031,0x0032,0x0033,0x002E,0x0034,0x0035,0x0036,0x0040,0x0000 }},
52 /*E*/
53 { 0,1,123.456, 123.456, 0x0040 }
55 { .is_last = 1 }
59 { Twcstod, TST_LOC_eucJP },
62 /*01*/
63 /*I*/
64 {{ 0x0031,0x0032,0x0033,0x002E,0x0034,0x0035,0x0036,0x0040,0x0000 }},
65 /*E*/
66 { 0,1,123.456, 123.456, 0x0040 }
68 { .is_last = 1 }
72 { Twcstod, TST_LOC_end }