Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CadQuery/cadquery
/ test_cylinder
Function
test_cylinder
tests/test_free_functions.py:449–454 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
447
448
449
def
test_cylinder():
450
451
s = cylinder(2, 1)
452
453
assert s.isValid()
454
assert s.Volume() == approx(pi)
455
456
457
def
test_sphere():
Callers
nothing calls this directly
Calls
3
cylinder
Function · 0.85
isValid
Method · 0.80
Volume
Method · 0.80
Tested by
no test coverage detected