Skip to content

Commit

Permalink
Update test_predicates_2.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvanmele authored and gonzalocasas committed Sep 10, 2023
1 parent dbdcb51 commit 9f5a476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/compas/geometry/predicates/test_predicates_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def test_is_point_in_circle_xy_class_input():

def test_is_polygon_in_polygon_xy():
polygon_contour = Polygon([(0, 0, 0), (4, 2, 0), (10, 0, 0), (11, 10, 0), (8, 12, 0), (0, 10, 0)])
polygon_inside = Polygon([(5, 5, 0), (10, 5, 0), (10, 10 , 0), (5, 10, 0)])
polygon_inside = Polygon([(5, 5, 0), (10, 5, 0), (10, 10, 0), (5, 10, 0)])
assert is_polygon_in_polygon_xy(polygon_contour, polygon_inside)

polygon_outside = Polygon([(15, 5, 0), (20, 5, 0), (20, 10, 0), (15, 10, 0)])
Expand Down

0 comments on commit 9f5a476

Please sign in to comment.