Skip to content

Commit 75e9f52

Browse files
committed
Further update geo tests
1 parent f952173 commit 75e9f52

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/jasmine/tests/geo_test.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1799,7 +1799,7 @@ describe('Test event property of interactions on a geo plot:', function() {
17991799
expect(typeof pt.data).toEqual(typeof {}, 'points[0].data');
18001800
expect(typeof pt.fullData).toEqual(typeof {}, 'points[0].fullData');
18011801
expect(pt.lat).toEqual(57.72, 'points[0].lat');
1802-
expect(pt.lon).toEqual(-101.68, 'points[0].lon');
1802+
expect(pt.lon).toEqual(-101.67, 'points[0].lon');
18031803
expect(pt.location).toEqual('CAN', 'points[0].location');
18041804
expect(pt.pointNumber).toEqual(0, 'points[0].pointNumber');
18051805
expect(pt.text).toEqual(20, 'points[0].text');
@@ -1903,7 +1903,7 @@ describe('Test event property of interactions on a geo plot:', function() {
19031903
expect(typeof pt.data).toEqual(typeof {}, 'points[0].data');
19041904
expect(typeof pt.fullData).toEqual(typeof {}, 'points[0].fullData');
19051905
expect(pt.lat).toEqual(57.72, 'points[0].lat');
1906-
expect(pt.lon).toEqual(-101.68, 'points[0].lon');
1906+
expect(pt.lon).toEqual(-101.67, 'points[0].lon');
19071907
expect(pt.location).toEqual('CAN', 'points[0].location');
19081908
expect(pt.pointNumber).toEqual(0, 'points[0].pointNumber');
19091909
expect(pt.text).toEqual(20, 'points[0].text');
@@ -1944,7 +1944,7 @@ describe('Test event property of interactions on a geo plot:', function() {
19441944
expect(typeof pt.data).toEqual(typeof {}, 'points[0].data');
19451945
expect(typeof pt.fullData).toEqual(typeof {}, 'points[0].fullData');
19461946
expect(pt.lat).toEqual(57.72, 'points[0].lat');
1947-
expect(pt.lon).toEqual(-101.68, 'points[0].lon');
1947+
expect(pt.lon).toEqual(-101.67, 'points[0].lon');
19481948
expect(pt.location).toEqual('CAN', 'points[0].location');
19491949
expect(pt.pointNumber).toEqual(0, 'points[0].pointNumber');
19501950
expect(pt.text).toEqual(20, 'points[0].text');
@@ -2761,11 +2761,11 @@ describe('Test geo interactions update marker angles:', function() {
27612761
})
27622762
.then(function() {
27632763
newPath = getPath();
2764-
expect(newPath).toEqual('M0,0L18.22327727600463,8.240883770679762L19.586810955756498,-4.044358612123453Z');
2764+
expect(newPath).toEqual('M0,0L18.224184922503092,8.238876374264322L19.586365339190138,-4.046516131164082Z');
27652765

27662766
expect(newPath).not.toEqual(initialPath);
2767-
expect(newPath).toEqual('M0,0L18.22327727600463,8.240883770679762L19.586810955756498,-4.044358612123453Z');
2768-
expect(initialPath).toEqual('M0,0L-1.5100144203478312,19.942914943667123L10.500523963798084,17.021721313830223Z');
2767+
expect(newPath).toEqual('M0,0L18.224184922503092,8.238876374264322L19.586365339190138,-4.046516131164082Z');
2768+
expect(initialPath).toEqual('M0,0L-1.5094067529528923,19.942960945008643L10.501042615957648,17.021401351764233Z');
27692769
})
27702770
.then(done, done.fail);
27712771
});

0 commit comments

Comments
 (0)