@@ -120,39 +120,39 @@ public class DictionaryFilterTest {
120
120
121
121
private static final String ALPHABET = "abcdefghijklmnopqrstuvwxyz" ;
122
122
private static final int [] intValues = new int [] {
123
- -100 , 302 , 3333333 , 7654321 , 1234567 , -2000 , -77775 , 0 , 75 , 22223 ,
124
- 77 , 22221 , -444443 , 205 , 12 , 44444 , 889 , 66665 , -777889 , -7 ,
125
- 52 , 33 , -257 , 1111 , 775 , 26
123
+ -100 , 302 , 3333333 , 7654321 , 1234567 , -2000 , -77775 , 0 , 75 , 22223 ,
124
+ 77 , 22221 , -444443 , 205 , 12 , 44444 , 889 , 66665 , -777889 , -7 ,
125
+ 52 , 33 , -257 , 1111 , 775 , 26
126
126
};
127
127
private static final long [] longValues = new long [] {
128
- -100L , 302L , 3333333L , 7654321L , 1234567L , -2000L , -77775L , 0L , 75L , 22223L , 77L , 22221L , -444443L , 205L , 12L ,
129
- 44444L , 889L , 66665L , -777889L , -7L , 52L , 33L , -257L , 1111L , 775L , 26L
128
+ -100L , 302L , 3333333L , 7654321L , 1234567L , -2000L , -77775L , 0L , 75L , 22223L , 77L , 22221L , -444443L , 205L , 12L ,
129
+ 44444L , 889L , 66665L , -777889L , -7L , 52L , 33L , -257L , 1111L , 775L , 26L
130
130
};
131
131
private static final Binary [] DECIMAL_VALUES = new Binary [] {
132
- toBinary ("-9999999999999999999999999999999999999999" , 17 ),
133
- toBinary ("-9999999999999999999999999999999999999998" , 17 ),
134
- toBinary (BigInteger .valueOf (Long .MIN_VALUE ).subtract (BigInteger .ONE ), 17 ),
135
- toBinary (BigInteger .valueOf (Long .MIN_VALUE ), 17 ),
136
- toBinary (BigInteger .valueOf (Long .MIN_VALUE ).add (BigInteger .ONE ), 17 ),
137
- toBinary ("-1" , 17 ),
138
- toBinary ("0" , 17 ),
139
- toBinary (BigInteger .valueOf (Long .MAX_VALUE ).subtract (BigInteger .ONE ), 17 ),
140
- toBinary (BigInteger .valueOf (Long .MAX_VALUE ), 17 ),
141
- toBinary (BigInteger .valueOf (Long .MAX_VALUE ).add (BigInteger .ONE ), 17 ),
142
- toBinary ("999999999999999999999999999999999999999" , 17 ),
143
- toBinary ("9999999999999999999999999999999999999998" , 17 ),
144
- toBinary ("9999999999999999999999999999999999999999" , 17 )
132
+ toBinary ("-9999999999999999999999999999999999999999" , 17 ),
133
+ toBinary ("-9999999999999999999999999999999999999998" , 17 ),
134
+ toBinary (BigInteger .valueOf (Long .MIN_VALUE ).subtract (BigInteger .ONE ), 17 ),
135
+ toBinary (BigInteger .valueOf (Long .MIN_VALUE ), 17 ),
136
+ toBinary (BigInteger .valueOf (Long .MIN_VALUE ).add (BigInteger .ONE ), 17 ),
137
+ toBinary ("-1" , 17 ),
138
+ toBinary ("0" , 17 ),
139
+ toBinary (BigInteger .valueOf (Long .MAX_VALUE ).subtract (BigInteger .ONE ), 17 ),
140
+ toBinary (BigInteger .valueOf (Long .MAX_VALUE ), 17 ),
141
+ toBinary (BigInteger .valueOf (Long .MAX_VALUE ).add (BigInteger .ONE ), 17 ),
142
+ toBinary ("999999999999999999999999999999999999999" , 17 ),
143
+ toBinary ("9999999999999999999999999999999999999998" , 17 ),
144
+ toBinary ("9999999999999999999999999999999999999999" , 17 )
145
145
};
146
146
private static final Binary [] INT96_VALUES = new Binary [] {
147
- toBinary ("-9999999999999999999999999999" , 12 ),
148
- toBinary ("-9999999999999999999999999998" , 12 ),
149
- toBinary ("-1234567890" , 12 ),
150
- toBinary ("-1" , 12 ),
151
- toBinary ("-0" , 12 ),
152
- toBinary ("1" , 12 ),
153
- toBinary ("1234567890" , 12 ),
154
- toBinary ("-9999999999999999999999999998" , 12 ),
155
- toBinary ("9999999999999999999999999999" , 12 )
147
+ toBinary ("-9999999999999999999999999999" , 12 ),
148
+ toBinary ("-9999999999999999999999999998" , 12 ),
149
+ toBinary ("-1234567890" , 12 ),
150
+ toBinary ("-1" , 12 ),
151
+ toBinary ("-0" , 12 ),
152
+ toBinary ("1" , 12 ),
153
+ toBinary ("1234567890" , 12 ),
154
+ toBinary ("-9999999999999999999999999998" , 12 ),
155
+ toBinary ("9999999999999999999999999999" , 12 )
156
156
};
157
157
158
158
private static Binary toBinary (String decimalWithoutScale , int byteCount ) {
0 commit comments