Skip to content

Commit 68dba0a

Browse files
Extend coverage
1 parent 1d3fc57 commit 68dba0a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_cadquery.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3291,6 +3291,11 @@ def testParametricCurve(self):
32913291
self.assertTrue(res_closed.solids().val().isValid())
32923292
self.assertEqual(len(res_closed.faces().vals()), 3)
32933293

3294+
res_edge = Workplane("XY").parametricCurve(func, makeWire=False)
3295+
3296+
self.assertEqual(len(res_edge.ctx.pendingEdges), 1)
3297+
self.assertEqual(len(res_edge.ctx.pendingWires), 0)
3298+
32943299
def testMakeShellSolid(self):
32953300

32963301
c0 = math.sqrt(2) / 4

0 commit comments

Comments
 (0)