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

Function test_rect

tests/test_free_functions.py:406–412  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

404
405
406def test_rect():
407
408 s = rect(2, 1)
409
410 assert s.isValid()
411 assert s.IsClosed()
412 assert s.Length() == approx(6)
413
414
415def test_circle():

Callers

nothing calls this directly

Calls 4

rectFunction · 0.85
isValidMethod · 0.80
IsClosedMethod · 0.80
LengthMethod · 0.45

Tested by

no test coverage detected