Skip to content

Commit f2bd58f

Browse files
committed
try enabling test that crashed GEOS before
1 parent 559a297 commit f2bd58f

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

test/test_invalid_geometry.jl

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
@testset "LibGEOS invalid geometry" begin
2-
# LibGEOS shouldn't crash but error out
3-
# on invalid geometry
2+
# LibGEOS shouldn't crash but error out on invalid geometry
43

54
# Self intersecting polygon
6-
# gives unkown function segfault on Travis Linux CI, see #44, revisit after #21
7-
# polygon = LibGEOS._readgeom("POLYGON((0 0, 10 10, 0 10, 10 0, 0 0))")
8-
# @test !LibGEOS.isValid(polygon)
5+
polygon = LibGEOS._readgeom("POLYGON((0 0, 10 10, 0 10, 10 0, 0 0))")
6+
@test !LibGEOS.isValid(polygon)
97

108
# Hole outside of base
11-
# gives unkown function segfault on Travis Linux CI, see #44, revisit after #21
12-
# polygon = LibGEOS._readgeom("POLYGON((0 0, 10 0, 10 10, 0 10, 0 0), (15 15, 15 20, 20 20, 20 15, 15 15))")
13-
# @test !LibGEOS.isValid(polygon)
14-
9+
polygon = LibGEOS._readgeom("POLYGON((0 0, 10 0, 10 10, 0 10, 0 0),
10+
(15 15, 15 20, 20 20, 20 15, 15 15))")
11+
@test !LibGEOS.isValid(polygon)
1512
end

0 commit comments

Comments
 (0)