@@ -49,7 +49,7 @@ public void attr() throws Exception {
49
49
*/
50
50
@ Test
51
51
public void cm () throws Exception {
52
- final LexicalUnit lu = LexicalUnitImpl .createCentimeter (null , 1.2f );
52
+ final LexicalUnit lu = LexicalUnitImpl .createCentimeter (null , 1.2 );
53
53
final CSSValueImpl value = new CSSValueImpl (lu , false );
54
54
55
55
Assert .assertEquals ("1.2cm" , value .getCssText ());
@@ -91,7 +91,7 @@ public void counter() throws Exception {
91
91
*/
92
92
@ Test
93
93
public void deg () throws Exception {
94
- final LexicalUnit lu = LexicalUnitImpl .createDegree (null , 1.2f );
94
+ final LexicalUnit lu = LexicalUnitImpl .createDegree (null , 1.2 );
95
95
final CSSValueImpl value = new CSSValueImpl (lu , false );
96
96
97
97
Assert .assertEquals ("1.2deg" , value .getCssText ());
@@ -112,7 +112,7 @@ public void deg() throws Exception {
112
112
*/
113
113
@ Test
114
114
public void dimension () throws Exception {
115
- final LexicalUnit lu = LexicalUnitImpl .createDimension (null , 1.2f , "lumen" );
115
+ final LexicalUnit lu = LexicalUnitImpl .createDimension (null , 1.2 , "lumen" );
116
116
final CSSValueImpl value = new CSSValueImpl (lu , false );
117
117
118
118
Assert .assertEquals ("1.2lumen" , value .getCssText ());
@@ -133,7 +133,7 @@ public void dimension() throws Exception {
133
133
*/
134
134
@ Test
135
135
public void ems () throws Exception {
136
- final LexicalUnit lu = LexicalUnitImpl .createEm (null , 1.2f );
136
+ final LexicalUnit lu = LexicalUnitImpl .createEm (null , 1.2 );
137
137
final CSSValueImpl value = new CSSValueImpl (lu , false );
138
138
139
139
Assert .assertEquals ("1.2em" , value .getCssText ());
@@ -154,7 +154,7 @@ public void ems() throws Exception {
154
154
*/
155
155
@ Test
156
156
public void emx () throws Exception {
157
- final LexicalUnit lu = LexicalUnitImpl .createEx (null , 1.2f );
157
+ final LexicalUnit lu = LexicalUnitImpl .createEx (null , 1.2 );
158
158
final CSSValueImpl value = new CSSValueImpl (lu , false );
159
159
160
160
Assert .assertEquals ("1.2ex" , value .getCssText ());
@@ -207,7 +207,7 @@ public void functionTwoParams() throws Exception {
207
207
*/
208
208
@ Test
209
209
public void gradian () throws Exception {
210
- final LexicalUnit lu = LexicalUnitImpl .createGradian (null , 1.2f );
210
+ final LexicalUnit lu = LexicalUnitImpl .createGradian (null , 1.2 );
211
211
final CSSValueImpl value = new CSSValueImpl (lu , false );
212
212
213
213
Assert .assertEquals ("1.2grad" , value .getCssText ());
@@ -228,7 +228,7 @@ public void gradian() throws Exception {
228
228
*/
229
229
@ Test
230
230
public void hertz () throws Exception {
231
- final LexicalUnit lu = LexicalUnitImpl .createHertz (null , 1.2f );
231
+ final LexicalUnit lu = LexicalUnitImpl .createHertz (null , 1.2 );
232
232
final CSSValueImpl value = new CSSValueImpl (lu , false );
233
233
234
234
Assert .assertEquals ("1.2Hz" , value .getCssText ());
@@ -264,7 +264,7 @@ public void ident() throws Exception {
264
264
*/
265
265
@ Test
266
266
public void inch () throws Exception {
267
- final LexicalUnit lu = LexicalUnitImpl .createInch (null , 1.2f );
267
+ final LexicalUnit lu = LexicalUnitImpl .createInch (null , 1.2 );
268
268
final CSSValueImpl value = new CSSValueImpl (lu , false );
269
269
270
270
Assert .assertEquals ("1.2in" , value .getCssText ());
@@ -285,7 +285,7 @@ public void inch() throws Exception {
285
285
*/
286
286
@ Test
287
287
public void kiloHertz () throws Exception {
288
- final LexicalUnit lu = LexicalUnitImpl .createKiloHertz (null , 1.2f );
288
+ final LexicalUnit lu = LexicalUnitImpl .createKiloHertz (null , 1.2 );
289
289
final CSSValueImpl value = new CSSValueImpl (lu , false );
290
290
291
291
Assert .assertEquals ("1.2kHz" , value .getCssText ());
@@ -306,7 +306,7 @@ public void kiloHertz() throws Exception {
306
306
*/
307
307
@ Test
308
308
public void millimeter () throws Exception {
309
- final LexicalUnit lu = LexicalUnitImpl .createMillimeter (null , 1.2f );
309
+ final LexicalUnit lu = LexicalUnitImpl .createMillimeter (null , 1.2 );
310
310
final CSSValueImpl value = new CSSValueImpl (lu , false );
311
311
312
312
Assert .assertEquals ("1.2mm" , value .getCssText ());
@@ -327,7 +327,7 @@ public void millimeter() throws Exception {
327
327
*/
328
328
@ Test
329
329
public void millisecond () throws Exception {
330
- final LexicalUnit lu = LexicalUnitImpl .createMillisecond (null , 1.2f );
330
+ final LexicalUnit lu = LexicalUnitImpl .createMillisecond (null , 1.2 );
331
331
final CSSValueImpl value = new CSSValueImpl (lu , false );
332
332
333
333
Assert .assertEquals ("1.2ms" , value .getCssText ());
@@ -348,7 +348,7 @@ public void millisecond() throws Exception {
348
348
*/
349
349
@ Test
350
350
public void numberDouble () throws Exception {
351
- final LexicalUnit lu = LexicalUnitImpl .createNumber (null , 1.2f );
351
+ final LexicalUnit lu = LexicalUnitImpl .createNumber (null , 1.2 );
352
352
final CSSValueImpl value = new CSSValueImpl (lu , false );
353
353
354
354
Assert .assertEquals ("1.2" , value .getCssText ());
@@ -390,7 +390,7 @@ public void numberInt() throws Exception {
390
390
*/
391
391
@ Test
392
392
public void pica () throws Exception {
393
- final LexicalUnit lu = LexicalUnitImpl .createPica (null , 1.2f );
393
+ final LexicalUnit lu = LexicalUnitImpl .createPica (null , 1.2 );
394
394
final CSSValueImpl value = new CSSValueImpl (lu , false );
395
395
396
396
Assert .assertEquals ("1.2pc" , value .getCssText ());
@@ -411,7 +411,7 @@ public void pica() throws Exception {
411
411
*/
412
412
@ Test
413
413
public void percentage () throws Exception {
414
- final LexicalUnit lu = LexicalUnitImpl .createPercentage (null , 1.2f );
414
+ final LexicalUnit lu = LexicalUnitImpl .createPercentage (null , 1.2 );
415
415
final CSSValueImpl value = new CSSValueImpl (lu , false );
416
416
417
417
Assert .assertEquals ("1.2%" , value .getCssText ());
@@ -432,7 +432,7 @@ public void percentage() throws Exception {
432
432
*/
433
433
@ Test
434
434
public void point () throws Exception {
435
- final LexicalUnit lu = LexicalUnitImpl .createPoint (null , 1.2f );
435
+ final LexicalUnit lu = LexicalUnitImpl .createPoint (null , 1.2 );
436
436
final CSSValueImpl value = new CSSValueImpl (lu , false );
437
437
438
438
Assert .assertEquals ("1.2pt" , value .getCssText ());
@@ -453,7 +453,7 @@ public void point() throws Exception {
453
453
*/
454
454
@ Test
455
455
public void pixel () throws Exception {
456
- final LexicalUnit lu = LexicalUnitImpl .createPixel (null , 1.2f );
456
+ final LexicalUnit lu = LexicalUnitImpl .createPixel (null , 1.2 );
457
457
final CSSValueImpl value = new CSSValueImpl (lu , false );
458
458
459
459
Assert .assertEquals ("1.2px" , value .getCssText ());
@@ -474,7 +474,7 @@ public void pixel() throws Exception {
474
474
*/
475
475
@ Test
476
476
public void radian () throws Exception {
477
- final LexicalUnit lu = LexicalUnitImpl .createRadian (null , 1.2f );
477
+ final LexicalUnit lu = LexicalUnitImpl .createRadian (null , 1.2 );
478
478
final CSSValueImpl value = new CSSValueImpl (lu , false );
479
479
480
480
Assert .assertEquals ("1.2rad" , value .getCssText ());
@@ -530,7 +530,7 @@ public void rect() throws Exception {
530
530
*/
531
531
@ Test
532
532
public void rem () throws Exception {
533
- final LexicalUnit lu = LexicalUnitImpl .createRem (null , 1.2f );
533
+ final LexicalUnit lu = LexicalUnitImpl .createRem (null , 1.2 );
534
534
final CSSValueImpl value = new CSSValueImpl (lu , false );
535
535
536
536
Assert .assertEquals ("1.2rem" , value .getCssText ());
@@ -551,7 +551,7 @@ public void rem() throws Exception {
551
551
*/
552
552
@ Test
553
553
public void ch () throws Exception {
554
- final LexicalUnit lu = LexicalUnitImpl .createCh (null , 1.2f );
554
+ final LexicalUnit lu = LexicalUnitImpl .createCh (null , 1.2 );
555
555
final CSSValueImpl value = new CSSValueImpl (lu , false );
556
556
557
557
Assert .assertEquals ("1.2ch" , value .getCssText ());
@@ -572,7 +572,7 @@ public void ch() throws Exception {
572
572
*/
573
573
@ Test
574
574
public void vw () throws Exception {
575
- final LexicalUnit lu = LexicalUnitImpl .createVw (null , 1.2f );
575
+ final LexicalUnit lu = LexicalUnitImpl .createVw (null , 1.2 );
576
576
final CSSValueImpl value = new CSSValueImpl (lu , false );
577
577
578
578
Assert .assertEquals ("1.2vw" , value .getCssText ());
@@ -593,7 +593,7 @@ public void vw() throws Exception {
593
593
*/
594
594
@ Test
595
595
public void vh () throws Exception {
596
- final LexicalUnit lu = LexicalUnitImpl .createVh (null , 1.2f );
596
+ final LexicalUnit lu = LexicalUnitImpl .createVh (null , 1.2 );
597
597
final CSSValueImpl value = new CSSValueImpl (lu , false );
598
598
599
599
Assert .assertEquals ("1.2vh" , value .getCssText ());
@@ -614,7 +614,7 @@ public void vh() throws Exception {
614
614
*/
615
615
@ Test
616
616
public void vmin () throws Exception {
617
- final LexicalUnit lu = LexicalUnitImpl .createVMin (null , 1.2f );
617
+ final LexicalUnit lu = LexicalUnitImpl .createVMin (null , 1.2 );
618
618
final CSSValueImpl value = new CSSValueImpl (lu , false );
619
619
620
620
Assert .assertEquals ("1.2vmin" , value .getCssText ());
@@ -635,7 +635,7 @@ public void vmin() throws Exception {
635
635
*/
636
636
@ Test
637
637
public void vmax () throws Exception {
638
- final LexicalUnit lu = LexicalUnitImpl .createVMax (null , 1.2f );
638
+ final LexicalUnit lu = LexicalUnitImpl .createVMax (null , 1.2 );
639
639
final CSSValueImpl value = new CSSValueImpl (lu , false );
640
640
641
641
Assert .assertEquals ("1.2vmax" , value .getCssText ());
@@ -689,7 +689,7 @@ public void rgbColor() throws Exception {
689
689
*/
690
690
@ Test
691
691
public void second () throws Exception {
692
- final LexicalUnit lu = LexicalUnitImpl .createSecond (null , 1.2f );
692
+ final LexicalUnit lu = LexicalUnitImpl .createSecond (null , 1.2 );
693
693
final CSSValueImpl value = new CSSValueImpl (lu , false );
694
694
695
695
Assert .assertEquals ("1.2s" , value .getCssText ());
0 commit comments