We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b86ee07 commit 205bc4cCopy full SHA for 205bc4c
tests/compas/geometry/test_core.py
@@ -213,4 +213,5 @@ def test_normal_polygon():
213
polygon = [(0, 0, 0), (10, 0, 0), (10, 10, 0), (0, 10, 0)]
214
normal = normal_polygon(polygon, unitized=False)
215
area = area_polygon(polygon)
216
- assert length_vector(normal) == area
+ assert close(area, 100.0)
217
+ assert close(area, length_vector(normal))
0 commit comments