Skip to content

Commit 4c3b60a

Browse files
committed
better test
1 parent 7035e9b commit 4c3b60a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/voronoi/voronoi.jl

+3
Original file line numberDiff line numberDiff line change
@@ -1788,4 +1788,7 @@ end
17881788
A += get_area(vorn, i)
17891789
end
17901790
@test A 1.0
1791+
vorn = voronoi(tri)
1792+
poly = get_polygon_coordinates(vorn, 3, (0.0, 1.0, 0.0, 1.0))
1793+
@test poly [(0.675, 1.0), (0.0, 1.0), (0.0, 0.95), (0.6, 0.95), (0.675, 1.0)]
17911794
end

0 commit comments

Comments
 (0)