Fix ol.geom.flat.linearRingContainsXY
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
// FIXME why do the skip tests below fail? I don't understand!
|
||||
|
||||
goog.provide('ol.test.geom.Polygon');
|
||||
|
||||
|
||||
@@ -291,7 +289,7 @@ describe('ol.geom.Polygon', function() {
|
||||
expect(polygon.getFlatCoordinates()).to.eql(flatCoordinates);
|
||||
});
|
||||
|
||||
it.skip('does not contain outside coordinates', function() {
|
||||
it('does not contain outside coordinates', function() {
|
||||
expect(polygon.containsCoordinate(outsideOuter)).to.be(false);
|
||||
});
|
||||
|
||||
@@ -304,10 +302,6 @@ describe('ol.geom.Polygon', function() {
|
||||
expect(polygon.containsCoordinate(insideInner2)).to.be(false);
|
||||
});
|
||||
|
||||
it.skip('fails in strange ways', function() {
|
||||
expect(polygon.containsCoordinate([0, 0])).to.be(false);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
describe('with a simple polygon', function() {
|
||||
|
||||
Reference in New Issue
Block a user