mirror of
https://gitlab.com/mobicoop/v3/service/matcher.git
synced 2026-01-01 06:02:40 +00:00
use strict null checks
This commit is contained in:
@@ -8,7 +8,7 @@ describe('Matcher geodesic', () => {
|
||||
it('should get inverse values', () => {
|
||||
const geodesic: Geodesic = new Geodesic();
|
||||
const inv = geodesic.inverse(0, 0, 1, 1);
|
||||
expect(Math.round(inv.azimuth)).toBe(45);
|
||||
expect(Math.round(inv.distance)).toBe(156900);
|
||||
expect(Math.round(inv.azimuth as number)).toBe(45);
|
||||
expect(Math.round(inv.distance as number)).toBe(156900);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user