From 30e18dca61ab4832a71b07ddf56c110eb4eecfb7 Mon Sep 17 00:00:00 2001 From: Michael Kennard Date: Thu, 4 Jan 2024 10:57:26 -0700 Subject: [PATCH] GmMultiPolyIntersector for python - fix CI --- .../multi_poly_intersector_pyt.py | 40 ++++++++++--------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/_package/tests/unit_tests/geometry_tests/multi_poly_intersector_pyt.py b/_package/tests/unit_tests/geometry_tests/multi_poly_intersector_pyt.py index 4f12439c..1d3197ef 100644 --- a/_package/tests/unit_tests/geometry_tests/multi_poly_intersector_pyt.py +++ b/_package/tests/unit_tests/geometry_tests/multi_poly_intersector_pyt.py @@ -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]] @@ -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]]