Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CadQuery/cadquery
/ test_ellipse
Function
test_ellipse
tests/test_free_functions.py:424–430 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
422
423
424
def
test_ellipse():
425
426
s = ellipse(3, 2)
427
428
assert s.isValid()
429
assert s.IsClosed()
430
assert face(s).Area() == approx(6 * pi)
431
432
433
def
test_plane():
Callers
nothing calls this directly
Calls
5
ellipse
Function · 0.85
face
Function · 0.85
isValid
Method · 0.80
IsClosed
Method · 0.80
Area
Method · 0.45
Tested by
no test coverage detected