Skip to content

Commit bb22a78

Browse files
baehrjogonzalocasas
authored andcommitted
lint check
1 parent 183a12a commit bb22a78

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tests/compas/geometry/test_core.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,12 +232,17 @@ def test_area_triangle(triangle, R):
232232

233233
def test_area_polygon():
234234
# create a test closed (here planar xy) non-convex polygon :
235-
polygon = Polygon([Point(-7, -15, 0), Point(-5, 9, 0), Point(13, 0, 0), Point(0, -2, 0), Point(0, -6, 0), Point(-4, -10, 0)])
235+
polygon = Polygon(
236+
[Point(-7, -15, 0), Point(-5, 9, 0), Point(13, 0, 0), Point(0, -2, 0), Point(0, -6, 0), Point(-4, -10, 0)]
237+
)
236238
assert area_polygon(polygon) >= 0
237239
# the same polygon with vertices list shifted by 3 positions :
238-
polygon_ = Polygon([Point(0, -2, 0), Point(0, -6, 0), Point(-4, -10, 0), Point(-7, -15, 0), Point(-5, 9, 0), Point(13, 0, 0)])
240+
polygon_ = Polygon(
241+
[Point(0, -2, 0), Point(0, -6, 0), Point(-4, -10, 0), Point(-7, -15, 0), Point(-5, 9, 0), Point(13, 0, 0)]
242+
)
239243
assert area_polygon(polygon_) >= 0
240244

245+
241246
# ==============================================================================
242247
# normals
243248
# ==============================================================================\

0 commit comments

Comments
 (0)