MCPcopy
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
424def 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
433def test_plane():

Callers

nothing calls this directly

Calls 5

ellipseFunction · 0.85
faceFunction · 0.85
isValidMethod · 0.80
IsClosedMethod · 0.80
AreaMethod · 0.45

Tested by

no test coverage detected