Test fixes

This commit is contained in:
Tim Schaub
2017-08-16 14:24:42 -04:00
parent 02b2cdbd27
commit 73afb656d7
13 changed files with 28 additions and 9 deletions

View File

@@ -3,6 +3,7 @@ goog.provide('ol.test.format.MVT');
goog.require('ol.Feature');
goog.require('ol.ext.PBF');
goog.require('ol.ext.vectortile.VectorTile');
goog.require('ol.extent');
goog.require('ol.format.MVT');
goog.require('ol.geom.Point');
goog.require('ol.render.Feature');
@@ -92,7 +93,7 @@ where('ArrayBuffer.isView').describe('ol.format.MVT', function() {
var format = new ol.format.MVT();
format.readFeatures(data);
var extent = format.getLastExtent();
expect(extent.getWidth()).to.be(4096);
expect(ol.extent.getWidth(extent)).to.be(4096);
});
});