From 404b04ae596bf30308c329e94b7479af66884f68 Mon Sep 17 00:00:00 2001 From: ahocevar Date: Mon, 11 Mar 2019 09:30:04 +0100 Subject: [PATCH] Re-enable and fix disabled tests --- test/spec/ol/geom/flat/interpolate.test.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/spec/ol/geom/flat/interpolate.test.js b/test/spec/ol/geom/flat/interpolate.test.js index b0ee7434bc..500b70c3b8 100644 --- a/test/spec/ol/geom/flat/interpolate.test.js +++ b/test/spec/ol/geom/flat/interpolate.test.js @@ -28,10 +28,10 @@ describe('ol.geom.flat.interpolate', function() { expect(point).to.eql([2, 3]); }); - xit('also when vertices are repeated', function() { + it('also when vertices are repeated', function() { const flatCoordinates = [0, 1, 2, 3, 2, 3, 4, 5]; const point = interpolatePoint( - flatCoordinates, 0, 6, 2, 0.5); + flatCoordinates, 0, 8, 2, 0.5); expect(point).to.eql([2, 3]); }); @@ -44,10 +44,10 @@ describe('ol.geom.flat.interpolate', function() { expect(point).to.eql([3, 4]); }); - xit('also when vertices are repeated', function() { + it('also when vertices are repeated', function() { const flatCoordinates = [0, 1, 2, 3, 2, 3, 4, 5, 6, 7]; const point = interpolatePoint( - flatCoordinates, 0, 8, 2, 0.5); + flatCoordinates, 0, 10, 2, 0.5); expect(point).to.eql([3, 4]); }); @@ -59,11 +59,11 @@ describe('ol.geom.flat.interpolate', function() { expect(point).to.eql([3, 4]); }); - xit('also when vertices are repeated', + it('also when vertices are repeated', function() { const flatCoordinates = [0, 1, 2, 3, 2, 3, 6, 7]; const point = interpolatePoint( - flatCoordinates, 0, 6, 2, 0.5); + flatCoordinates, 0, 8, 2, 0.5); expect(point).to.eql([3, 4]); });