mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-19 23:14:47 +02:00
Run roundcoord test
This commit is contained in:
+5
-3
@@ -1,8 +1,10 @@
|
||||
describe('iD.geo', function() {
|
||||
describe('.roundCoords', function() {
|
||||
expect(iD.geo.roundCoords([0.1, 1])).to.eql([0, 1]);
|
||||
expect(iD.geo.roundCoords([0, 1])).to.eql([0, 1]);
|
||||
expect(iD.geo.roundCoords([0, 1.1])).to.eql([0, 1]);
|
||||
it('rounds coordinates', function() {
|
||||
expect(iD.geo.roundCoords([0.1, 1])).to.eql([0, 1]);
|
||||
expect(iD.geo.roundCoords([0, 1])).to.eql([0, 1]);
|
||||
expect(iD.geo.roundCoords([0, 1.1])).to.eql([0, 1]);
|
||||
});
|
||||
});
|
||||
|
||||
describe('.interp', function() {
|
||||
|
||||
Reference in New Issue
Block a user