@@ -586,7 +586,7 @@ describe("Scene/TileMapServiceImageryProvider", function () {
586
586
587
587
expect ( provider . rectangle . west ) . toEqual ( expectedSW . longitude ) ;
588
588
expect ( provider . rectangle . south ) . toEqual ( expectedSW . latitude ) ;
589
- expect ( provider . rectangle . east ) . toBeCloseTo (
589
+ expect ( provider . rectangle . east ) . toEqualEpsilon (
590
590
expectedNE . longitude ,
591
591
CesiumMath . EPSILON14 ,
592
592
) ;
@@ -620,12 +620,12 @@ describe("Scene/TileMapServiceImageryProvider", function () {
620
620
const expectedSW = Cartographic . fromDegrees ( - 123.0 , - 10.0 ) ;
621
621
const expectedNE = Cartographic . fromDegrees ( - 110.0 , 11.0 ) ;
622
622
623
- expect ( provider . rectangle . west ) . toBeCloseTo (
623
+ expect ( provider . rectangle . west ) . toEqualEpsilon (
624
624
expectedSW . longitude ,
625
625
CesiumMath . EPSILON14 ,
626
626
) ;
627
627
expect ( provider . rectangle . south ) . toEqual ( expectedSW . latitude ) ;
628
- expect ( provider . rectangle . east ) . toBeCloseTo (
628
+ expect ( provider . rectangle . east ) . toEqualEpsilon (
629
629
expectedNE . longitude ,
630
630
CesiumMath . EPSILON14 ,
631
631
) ;
@@ -663,12 +663,12 @@ describe("Scene/TileMapServiceImageryProvider", function () {
663
663
const expectedSW = Cartographic . fromDegrees ( - 123.0 , - 10.0 ) ;
664
664
const expectedNE = Cartographic . fromDegrees ( - 110.0 , 11.0 ) ;
665
665
666
- expect ( provider . rectangle . west ) . toBeCloseTo (
666
+ expect ( provider . rectangle . west ) . toEqualEpsilon (
667
667
expectedSW . longitude ,
668
668
CesiumMath . EPSILON14 ,
669
669
) ;
670
670
expect ( provider . rectangle . south ) . toEqual ( expectedSW . latitude ) ;
671
- expect ( provider . rectangle . east ) . toBeCloseTo (
671
+ expect ( provider . rectangle . east ) . toEqualEpsilon (
672
672
expectedNE . longitude ,
673
673
CesiumMath . EPSILON14 ,
674
674
) ;
@@ -706,12 +706,12 @@ describe("Scene/TileMapServiceImageryProvider", function () {
706
706
const expectedSW = Cartographic . fromDegrees ( - 123.0 , - 10.0 ) ;
707
707
const expectedNE = Cartographic . fromDegrees ( - 110.0 , 11.0 ) ;
708
708
709
- expect ( provider . rectangle . west ) . toBeCloseTo (
709
+ expect ( provider . rectangle . west ) . toEqualEpsilon (
710
710
expectedSW . longitude ,
711
711
CesiumMath . EPSILON14 ,
712
712
) ;
713
713
expect ( provider . rectangle . south ) . toEqual ( expectedSW . latitude ) ;
714
- expect ( provider . rectangle . east ) . toBeCloseTo (
714
+ expect ( provider . rectangle . east ) . toEqualEpsilon (
715
715
expectedNE . longitude ,
716
716
CesiumMath . EPSILON14 ,
717
717
) ;
0 commit comments