MCPcopy
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
449def test_cylinder():
450
451 s = cylinder(2, 1)
452
453 assert s.isValid()
454 assert s.Volume() == approx(pi)
455
456
457def test_sphere():

Callers

nothing calls this directly

Calls 3

cylinderFunction · 0.85
isValidMethod · 0.80
VolumeMethod · 0.80

Tested by

no test coverage detected