'destinationPoint from p1 with distance and bearing': () => { let geo = require(appPath + 'lib/geo-vincenty'); let result = geo.destinationPoint( { lat: 70.3705708, lon: 31.1049573 }, 10000, 360 ); assert.equals(result, { lat: 70.46020285321445, lon: 31.104957300000027 }); },
assert.exception(function() { geo.destinationPoint({ lat: 70.3369224, lon: 30.3411273 }, 10000, null); }, 'typeError');
assert.exception(function() { geo.destinationPoint({}, 10000, 360); }, 'typeError');