Skip to content

Commit a58a053

Browse files
chenkasirergonzalocasas
authored andcommitted
formatting
1 parent 17fbb85 commit a58a053

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

tests/compas/geometry/test_core.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -232,14 +232,7 @@ 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 = [
236-
Point(-7, -15, 0),
237-
Point(-5, 9, 0),
238-
Point(13, 0, 0),
239-
Point(0, -2, 0),
240-
Point(0, -6, 0),
241-
Point(-4, -10, 0)
242-
]
235+
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)]
243236

244237
assert area_polygon(polygon) >= 0
245238
# the same polygon with vertices list shifted by 3 positions :

0 commit comments

Comments
 (0)