-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try enabling test that crashed GEOS before
- Loading branch information
Showing
1 changed file
with
6 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
@testset "LibGEOS invalid geometry" begin | ||
# LibGEOS shouldn't crash but error out | ||
# on invalid geometry | ||
# LibGEOS shouldn't crash but error out on invalid geometry | ||
|
||
# Self intersecting polygon | ||
# gives unkown function segfault on Travis Linux CI, see #44, revisit after #21 | ||
# polygon = LibGEOS._readgeom("POLYGON((0 0, 10 10, 0 10, 10 0, 0 0))") | ||
# @test !LibGEOS.isValid(polygon) | ||
polygon = LibGEOS._readgeom("POLYGON((0 0, 10 10, 0 10, 10 0, 0 0))") | ||
@test !LibGEOS.isValid(polygon) | ||
|
||
# Hole outside of base | ||
# gives unkown function segfault on Travis Linux CI, see #44, revisit after #21 | ||
# polygon = LibGEOS._readgeom("POLYGON((0 0, 10 0, 10 10, 0 10, 0 0), (15 15, 15 20, 20 20, 20 15, 15 15))") | ||
# @test !LibGEOS.isValid(polygon) | ||
|
||
polygon = LibGEOS._readgeom("POLYGON((0 0, 10 0, 10 10, 0 10, 0 0), | ||
(15 15, 15 20, 20 20, 20 15, 15 15))") | ||
@test !LibGEOS.isValid(polygon) | ||
end |