Skip to content

Commit 0da4282

Browse files
nraynaudvisr
authored andcommitted
exert the string-freeing function in a test
1 parent 0b6dd88 commit 0da4282

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_invalid_geometry.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@
99
polygon = LibGEOS._readgeom("POLYGON((0 0, 10 0, 10 10, 0 10, 0 0),
1010
(15 15, 15 20, 20 20, 20 15, 15 15))")
1111
@test !LibGEOS.isValid(polygon)
12+
@test LibGEOS.GEOSisValidReason_r(LibGEOS._context.ptr, polygon) == "Hole lies outside shell[15 15]"
1213
end

0 commit comments

Comments
 (0)