MCPcopy
hub / github.com/CadQuery/cadquery / test_validation

Function test_validation

tests/test_hull.py:26–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24
25
26def test_validation():
27
28 with pytest.raises(ValueError):
29
30 e1 = cq.Edge.makeEllipse(2, 1)
31 c1 = cq.Edge.makeCircle(0.5, (-1.5, 0.5, 0))
32 hull.find_hull([c1, e1])

Callers

nothing calls this directly

Calls 2

makeEllipseMethod · 0.45
makeCircleMethod · 0.45

Tested by

no test coverage detected