39
39
#include "string.h"
40
40
41
41
static UCollator * myCollation ;
42
- const static UChar testSourceCases [][MAX_TOKEN_LEN ] = {
42
+ static const UChar testSourceCases [][MAX_TOKEN_LEN ] = {
43
43
{0xff9E , 0x0000 },
44
44
{0x3042 , 0x0000 },
45
45
{0x30A2 , 0x0000 },
@@ -48,7 +48,7 @@ const static UChar testSourceCases[][MAX_TOKEN_LEN] = {
48
48
{0x30A2 , 0x30FC , 0x30C8 , 0x0000 } /* 6 */
49
49
};
50
50
51
- const static UChar testTargetCases [][MAX_TOKEN_LEN ] = {
51
+ static const UChar testTargetCases [][MAX_TOKEN_LEN ] = {
52
52
{0xFF9F , 0x0000 },
53
53
{0x30A2 , 0x0000 },
54
54
{0x3042 , 0x3042 , 0x0000 },
@@ -57,7 +57,7 @@ const static UChar testTargetCases[][MAX_TOKEN_LEN] = {
57
57
{0x3042 , 0x3042 , 0x3068 , 0x0000 } /* 6 */
58
58
};
59
59
60
- const static UCollationResult results [] = {
60
+ static const UCollationResult results [] = {
61
61
UCOL_LESS ,
62
62
UCOL_EQUAL , /*UCOL_LESS*/ /* Katakanas and Hiraganas are equal on tertiary level(ICU 2.0)*/
63
63
UCOL_LESS ,
@@ -66,35 +66,35 @@ const static UCollationResult results[] = {
66
66
UCOL_LESS , /*UCOL_GREATER*/ /* Prolonged sound mark sorts BEFORE equivalent vowel (ICU 2.0)*/ /* 6 */
67
67
};
68
68
69
- const static UChar testBaseCases [][MAX_TOKEN_LEN ] = {
69
+ static const UChar testBaseCases [][MAX_TOKEN_LEN ] = {
70
70
{0x30AB , 0x0000 },
71
71
{0x30AB , 0x30AD , 0x0000 },
72
72
{0x30AD , 0x0000 },
73
73
{0x30AD , 0x30AD , 0x0000 }
74
74
};
75
75
76
- const static UChar testPlainDakutenHandakutenCases [][MAX_TOKEN_LEN ] = {
76
+ static const UChar testPlainDakutenHandakutenCases [][MAX_TOKEN_LEN ] = {
77
77
{0x30CF , 0x30AB , 0x0000 },
78
78
{0x30D0 , 0x30AB , 0x0000 },
79
79
{0x30CF , 0x30AD , 0x0000 },
80
80
{0x30D0 , 0x30AD , 0x0000 }
81
81
};
82
82
83
- const static UChar testSmallLargeCases [][MAX_TOKEN_LEN ] = {
83
+ static const UChar testSmallLargeCases [][MAX_TOKEN_LEN ] = {
84
84
{0x30C3 , 0x30CF , 0x0000 },
85
85
{0x30C4 , 0x30CF , 0x0000 },
86
86
{0x30C3 , 0x30D0 , 0x0000 },
87
87
{0x30C4 , 0x30D0 , 0x0000 }
88
88
};
89
89
90
- const static UChar testKatakanaHiraganaCases [][MAX_TOKEN_LEN ] = {
90
+ static const UChar testKatakanaHiraganaCases [][MAX_TOKEN_LEN ] = {
91
91
{0x3042 , 0x30C3 , 0x0000 },
92
92
{0x30A2 , 0x30C3 , 0x0000 },
93
93
{0x3042 , 0x30C4 , 0x0000 },
94
94
{0x30A2 , 0x30C4 , 0x0000 }
95
95
};
96
96
97
- const static UChar testChooonKigooCases [][MAX_TOKEN_LEN ] = {
97
+ static const UChar testChooonKigooCases [][MAX_TOKEN_LEN ] = {
98
98
/*0*/ {0x30AB , 0x30FC , 0x3042 , 0x0000 },
99
99
/*1*/ {0x30AB , 0x30FC , 0x30A2 , 0x0000 },
100
100
/*2*/ {0x30AB , 0x30A4 , 0x3042 , 0x0000 },
0 commit comments