Run roundcoord test

This commit is contained in:
Bryan Housel
2016-03-02 23:05:33 -05:00
parent 1e97ca04a9
commit 745e8ee49a
+5 -3
View File
@@ -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() {