@@ -61,34 +61,35 @@ public void anyEntry_object() {
6161 }
6262
6363 @ ParameterizedTest
64- @ ValueSource (booleans = {false , true })
64+ @ ValueSource (booleans = {false , true })
6565 public void booleanEntry (boolean value ) {
6666 test (
67- () -> TagMap .Entry .newBooleanEntry ("foo" , value ),
68- TagMap .Entry .BOOLEAN ,
69- (entry ) ->
70- multiCheck (
71- checkKey ("foo" , entry ),
72- checkValue (value , entry ),
73- checkFalse (entry ::isNumericPrimitive ),
74- checkType (TagMap .Entry .BOOLEAN , entry )));
67+ () -> TagMap .Entry .newBooleanEntry ("foo" , value ),
68+ TagMap .Entry .BOOLEAN ,
69+ (entry ) ->
70+ multiCheck (
71+ checkKey ("foo" , entry ),
72+ checkValue (value , entry ),
73+ checkFalse (entry ::isNumericPrimitive ),
74+ checkType (TagMap .Entry .BOOLEAN , entry )));
7575 }
7676
7777 @ ParameterizedTest
78- @ ValueSource (booleans = {false , true })
78+ @ ValueSource (booleans = {false , true })
7979 public void booleanEntry_boxed (boolean value ) {
8080 test (
81- () -> TagMap .Entry .newBooleanEntry ("foo" , Boolean .valueOf (value )),
82- TagMap .Entry .BOOLEAN ,
83- (entry ) -> multiCheck (
84- checkKey ("foo" , entry ),
85- checkValue (value , entry ),
86- checkFalse (entry ::isNumericPrimitive ),
87- checkType (TagMap .Entry .BOOLEAN , entry )));
81+ () -> TagMap .Entry .newBooleanEntry ("foo" , Boolean .valueOf (value )),
82+ TagMap .Entry .BOOLEAN ,
83+ (entry ) ->
84+ multiCheck (
85+ checkKey ("foo" , entry ),
86+ checkValue (value , entry ),
87+ checkFalse (entry ::isNumericPrimitive ),
88+ checkType (TagMap .Entry .BOOLEAN , entry )));
8889 }
8990
9091 @ ParameterizedTest
91- @ ValueSource (booleans = {false , true })
92+ @ ValueSource (booleans = {false , true })
9293 public void anyEntry_boolean (boolean value ) {
9394 test (
9495 () -> TagMap .Entry .newAnyEntry ("foo" , Boolean .valueOf (value )),
@@ -103,7 +104,7 @@ public void anyEntry_boolean(boolean value) {
103104 }
104105
105106 @ ParameterizedTest
106- @ ValueSource (ints = {Integer .MIN_VALUE , -256 , -128 , -1 , 0 , 1 , 128 , 256 , Integer .MAX_VALUE })
107+ @ ValueSource (ints = {Integer .MIN_VALUE , -256 , -128 , -1 , 0 , 1 , 128 , 256 , Integer .MAX_VALUE })
107108 public void intEntry (int value ) {
108109 test (
109110 () -> TagMap .Entry .newIntEntry ("foo" , value ),
@@ -117,7 +118,7 @@ public void intEntry(int value) {
117118 }
118119
119120 @ ParameterizedTest
120- @ ValueSource (ints = {Integer .MIN_VALUE , -256 , -128 , -1 , 0 , 1 , 128 , 256 , Integer .MAX_VALUE })
121+ @ ValueSource (ints = {Integer .MIN_VALUE , -256 , -128 , -1 , 0 , 1 , 128 , 256 , Integer .MAX_VALUE })
121122 public void intEntry_boxed (int value ) {
122123 test (
123124 () -> TagMap .Entry .newIntEntry ("foo" , Integer .valueOf (value )),
@@ -131,7 +132,7 @@ public void intEntry_boxed(int value) {
131132 }
132133
133134 @ ParameterizedTest
134- @ ValueSource (ints = {Integer .MIN_VALUE , -256 , -128 , -1 , 0 , 1 , 128 , 256 , Integer .MAX_VALUE })
135+ @ ValueSource (ints = {Integer .MIN_VALUE , -256 , -128 , -1 , 0 , 1 , 128 , 256 , Integer .MAX_VALUE })
135136 public void anyEntry_int (int value ) {
136137 test (
137138 () -> TagMap .Entry .newAnyEntry ("foo" , Integer .valueOf (value )),
@@ -146,7 +147,22 @@ public void anyEntry_int(int value) {
146147 }
147148
148149 @ ParameterizedTest
149- @ ValueSource (longs = {Long .MIN_VALUE , Integer .MIN_VALUE , -1_048_576L , -256L , -128L , -1L , 0L , 1L , 128L , 256L , 1_048_576L , Integer .MAX_VALUE , Long .MAX_VALUE })
150+ @ ValueSource (
151+ longs = {
152+ Long .MIN_VALUE ,
153+ Integer .MIN_VALUE ,
154+ -1_048_576L ,
155+ -256L ,
156+ -128L ,
157+ -1L ,
158+ 0L ,
159+ 1L ,
160+ 128L ,
161+ 256L ,
162+ 1_048_576L ,
163+ Integer .MAX_VALUE ,
164+ Long .MAX_VALUE
165+ })
150166 public void longEntry (long value ) {
151167 test (
152168 () -> TagMap .Entry .newLongEntry ("foo" , value ),
@@ -160,7 +176,22 @@ public void longEntry(long value) {
160176 }
161177
162178 @ ParameterizedTest
163- @ ValueSource (longs = {Long .MIN_VALUE , Integer .MIN_VALUE , -1_048_576L , -256L , -128L , -1L , 0L , 1L , 128L , 256L , 1_048_576L , Integer .MAX_VALUE , Long .MAX_VALUE })
179+ @ ValueSource (
180+ longs = {
181+ Long .MIN_VALUE ,
182+ Integer .MIN_VALUE ,
183+ -1_048_576L ,
184+ -256L ,
185+ -128L ,
186+ -1L ,
187+ 0L ,
188+ 1L ,
189+ 128L ,
190+ 256L ,
191+ 1_048_576L ,
192+ Integer .MAX_VALUE ,
193+ Long .MAX_VALUE
194+ })
164195 public void longEntry_boxed (long value ) {
165196 test (
166197 () -> TagMap .Entry .newLongEntry ("foo" , Long .valueOf (value )),
@@ -174,7 +205,22 @@ public void longEntry_boxed(long value) {
174205 }
175206
176207 @ ParameterizedTest
177- @ ValueSource (longs = {Long .MIN_VALUE , Integer .MIN_VALUE , -1_048_576L , -256L , -128L , -1L , 0L , 1L , 128L , 256L , 1_048_576L , Integer .MAX_VALUE , Long .MAX_VALUE })
208+ @ ValueSource (
209+ longs = {
210+ Long .MIN_VALUE ,
211+ Integer .MIN_VALUE ,
212+ -1_048_576L ,
213+ -256L ,
214+ -128L ,
215+ -1L ,
216+ 0L ,
217+ 1L ,
218+ 128L ,
219+ 256L ,
220+ 1_048_576L ,
221+ Integer .MAX_VALUE ,
222+ Long .MAX_VALUE
223+ })
178224 public void anyEntry_long (long value ) {
179225 test (
180226 () -> TagMap .Entry .newAnyEntry ("foo" , Long .valueOf (value )),
@@ -189,7 +235,7 @@ public void anyEntry_long(long value) {
189235 }
190236
191237 @ ParameterizedTest
192- @ ValueSource (floats = {Float .MIN_VALUE , -1F , 0F , 1F , 2.171828F , 3.1415F , Float .MAX_VALUE })
238+ @ ValueSource (floats = {Float .MIN_VALUE , -1F , 0F , 1F , 2.171828F , 3.1415F , Float .MAX_VALUE })
193239 public void floatEntry (float value ) {
194240 test (
195241 () -> TagMap .Entry .newFloatEntry ("foo" , value ),
@@ -203,7 +249,7 @@ public void floatEntry(float value) {
203249 }
204250
205251 @ ParameterizedTest
206- @ ValueSource (floats = {Float .MIN_VALUE , -1F , 0F , 1F , 2.171828F , 3.1415F , Float .MAX_VALUE })
252+ @ ValueSource (floats = {Float .MIN_VALUE , -1F , 0F , 1F , 2.171828F , 3.1415F , Float .MAX_VALUE })
207253 public void floatEntry_boxed (float value ) {
208254 test (
209255 () -> TagMap .Entry .newFloatEntry ("foo" , Float .valueOf (value )),
@@ -217,7 +263,7 @@ public void floatEntry_boxed(float value) {
217263 }
218264
219265 @ ParameterizedTest
220- @ ValueSource (floats = {Float .MIN_VALUE , -1F , 0F , 1F , 2.171828F , 3.1415F , Float .MAX_VALUE })
266+ @ ValueSource (floats = {Float .MIN_VALUE , -1F , 0F , 1F , 2.171828F , 3.1415F , Float .MAX_VALUE })
221267 public void anyEntry_float (float value ) {
222268 test (
223269 () -> TagMap .Entry .newAnyEntry ("foo" , Float .valueOf (value )),
@@ -231,7 +277,8 @@ public void anyEntry_float(float value) {
231277 }
232278
233279 @ ParameterizedTest
234- @ ValueSource (doubles = {Double .MIN_VALUE , Float .MIN_VALUE , -1D , 0D , 1D , Math .E , Math .PI , Double .MAX_VALUE })
280+ @ ValueSource (
281+ doubles = {Double .MIN_VALUE , Float .MIN_VALUE , -1D , 0D , 1D , Math .E , Math .PI , Double .MAX_VALUE })
235282 public void doubleEntry (double value ) {
236283 test (
237284 () -> TagMap .Entry .newDoubleEntry ("foo" , value ),
@@ -245,7 +292,8 @@ public void doubleEntry(double value) {
245292 }
246293
247294 @ ParameterizedTest
248- @ ValueSource (doubles = {Double .MIN_VALUE , Float .MIN_VALUE , -1D , 0D , 1D , Math .E , Math .PI , Double .MAX_VALUE })
295+ @ ValueSource (
296+ doubles = {Double .MIN_VALUE , Float .MIN_VALUE , -1D , 0D , 1D , Math .E , Math .PI , Double .MAX_VALUE })
249297 public void doubleEntry_boxed (double value ) {
250298 test (
251299 () -> TagMap .Entry .newDoubleEntry ("foo" , Double .valueOf (value )),
@@ -259,7 +307,8 @@ public void doubleEntry_boxed(double value) {
259307 }
260308
261309 @ ParameterizedTest
262- @ ValueSource (doubles = {Double .MIN_VALUE , Float .MIN_VALUE , -1D , 0D , 1D , Math .E , Math .PI , Double .MAX_VALUE })
310+ @ ValueSource (
311+ doubles = {Double .MIN_VALUE , Float .MIN_VALUE , -1D , 0D , 1D , Math .E , Math .PI , Double .MAX_VALUE })
263312 public void anyEntry_double (double value ) {
264313 test (
265314 () -> TagMap .Entry .newAnyEntry ("foo" , Double .valueOf (value )),
0 commit comments