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

Function test_sphere

tests/test_free_functions.py:457–462  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

455
456
457def test_sphere():
458
459 s = sphere(2)
460
461 assert s.isValid()
462 assert s.Volume() == approx(4 / 3 * pi)
463
464
465def test_torus():

Callers

nothing calls this directly

Calls 3

sphereFunction · 0.85
isValidMethod · 0.80
VolumeMethod · 0.80

Tested by

no test coverage detected