Skip to content

Commit

Permalink
GmMultiPolyIntersector for python - fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mkennard-aquaveo committed Jan 4, 2024
1 parent 5bff880 commit 30e18dc
Showing 1 changed file with 21 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,17 @@ def _run_test(self, x1, y1, x2, y2, points, polys, expected_poly_ids, expected_t
assert math.isclose(point[i], expected_point[i]), assert_str

def test_traverse_line_segment_1_out_out(self):
"""A test.
(10,10)
3-------------2
| |
0------------------1
| |
| 1 |
| |
0-------------1
(0,0)
r"""A test.
(10,10)
3-------------2
| |
0------------------1
| |
| 1 |
| |
0-------------1
(0,0)
"""
pts = [[0, 0, 0], [10, 0, 0], [10, 10, 0], [0, 10, 0]]
polys = [[0, 1, 2, 3]]
Expand All @@ -70,15 +71,16 @@ def test_traverse_line_segment_1_out_out(self):

def test_traverse_line_segment_1_out_in(self):
"""A test.
(10,10)
3-------------2
| |
0----------1 |
| |
| 1 |
| |
0-------------1
(0,0)
(10,10)
3-------------2
| |
0----------1 |
| |
| 1 |
| |
0-------------1
(0,0)
"""
pts = [[0, 0, 0], [10, 0, 0], [10, 10, 0], [0, 10, 0]]
polys = [[0, 1, 2, 3]]
Expand Down

0 comments on commit 30e18dc

Please sign in to comment.