Skip to content

Commit 85ff83c

Browse files
Do not hardcode the number of edges
1 parent c21745e commit 85ff83c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_cadquery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5413,7 +5413,7 @@ def test_project(self):
54135413
res = t.project(f, (0, 0, -1))
54145414

54155415
assert res.isValid()
5416-
assert len(res.Edges()) == 8
5416+
assert len(res.Edges()) == len(t.Edges())
54175417
assert t.distance(res) == approx(1)
54185418

54195419
# extrude it

0 commit comments

Comments
 (0)