MCPcopy 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
389def 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
397def test_polygon():

Callers

nothing calls this directly

Calls 3

polylineFunction · 0.85
isValidMethod · 0.80
LengthMethod · 0.45

Tested by

no test coverage detected