1 /*
2  *  TEST SUITE FOR MB/WC FUNCTIONS IN CLIBRARY
3  *
4  *	 FILE:	dat_wcstod.c
5  *
6  *	 WCSTOD:  double wcstod (const wchar_t *np, wchar_t **endp);
7  */
8 
9 
10 /*
11  *  NOTE:
12  *	  need more test data!
13  *
14  */
15 
16 
17 TST_WCSTOD tst_wcstod_loc [] = {
18   {
19     { Twcstod, TST_LOC_de },
20     {
21       {
22 	/*01*/
23 	/*I*/
24 	{{ 0x0030,0x0030,0x0030,0x002C,0x0030,0x0030,0x0030,0x0030,0x0000 }},
25 	/*E*/
26 	{ 0,1,0.0,	       0.0,				  0x0000   }
27       },
28       {
29 	/*02*/
30 	/*I*/
31 	{{ 0x0031,0x0032,0x0033,0x002C,0x0034,0x0035,0x0036,0x0040,0x0000 }},
32 	/*E*/
33 	{ 0,1,123.456,	       123.456,			   0x0040  }
34       },
35       { .is_last = 1 }
36     }
37   },
38   {
39     { Twcstod, TST_LOC_enUS },
40     {
41       {
42 	/*01*/
43 	/*I*/
44 	{{ 0x0030,0x0030,0x0030,0x002E,0x0030,0x0030,0x0030,0x0030,0x0000 }},
45 	/*E*/
46 	{ 0,1,0.0,	       0.0,				  0x0000   }
47       },
48       {
49 	/*02*/
50 	/*I*/
51 	{{ 0x0031,0x0032,0x0033,0x002E,0x0034,0x0035,0x0036,0x0040,0x0000 }},
52 	/*E*/
53 	{ 0,1,123.456,	       123.456,			   0x0040  }
54       },
55       { .is_last = 1 }
56     }
57   },
58   {
59     { Twcstod, TST_LOC_eucJP },
60     {
61       {
62 	/*01*/
63 	/*I*/
64 	{{ 0x0031,0x0032,0x0033,0x002E,0x0034,0x0035,0x0036,0x0040,0x0000 }},
65 	/*E*/
66 	{ 0,1,123.456,	       123.456,			   0x0040  }
67       },
68       { .is_last = 1 }
69     }
70   },
71   {
72     { Twcstod, TST_LOC_end }
73   }
74 };
75