41 lines
1.2 KiB
JavaScript
41 lines
1.2 KiB
JavaScript
// describe('GeoPoint', function() {
|
|
//
|
|
// describe('geoPoint.distanceTo(geoPoint, options)', function() {
|
|
// it("Get the distance to another `GeoPoint`.", function(done) {
|
|
// /* example -
|
|
// var here = new GeoPoint({lat: 10, long: 10});
|
|
// var there = new GeoPoint({lat: 5, long: 5});
|
|
// console.log(here.distanceTo(there, {type: 'miles'})); // 438
|
|
// */
|
|
// done(new Error('test not implemented'));
|
|
// });
|
|
// });
|
|
//
|
|
// describe('GeoPoint.distanceBetween(a, b, options)', function() {
|
|
// it("Get the distance between two points.", function(done) {
|
|
// /* example -
|
|
// GeoPoint.distanceBetween(here, there, {type: 'miles'}) // 438
|
|
// */
|
|
// done(new Error('test not implemented'));
|
|
// });
|
|
// });
|
|
//
|
|
// describe('geoPoint.lat', function() {
|
|
// it("The latitude point in degrees", function(done) {
|
|
// done(new Error('test not implemented'));
|
|
// });
|
|
// });
|
|
//
|
|
// describe('geoPoint.long', function() {
|
|
// it("The longitude point in degrees", function(done) {
|
|
// /* example -
|
|
// app.use(asteroid.rest());
|
|
//
|
|
//
|
|
// app.use(asteroid.sio);
|
|
//
|
|
// */
|
|
// done(new Error('test not implemented'));
|
|
// });
|
|
// });
|
|
// });
|