Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/CadQuery/cadquery
/ test_polyline
Function
test_polyline
tests/test_free_functions.py:389–394 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
387
388
389
def
test_polyline():
390
391
s = polyline((0, 0), (0, 1), (1, 1))
392
393
assert s.isValid()
394
assert s.Length() == approx(2)
395
396
397
def
test_polygon():
Callers
nothing calls this directly
Calls
3
polyline
Function · 0.85
isValid
Method · 0.80
Length
Method · 0.45
Tested by
no test coverage detected