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

Function test_vals

tests/test_sketch.py:795–807  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

793
794
795def test_vals():
796
797 s1 = Sketch().segment((0, 0), (0, 1))
798
799 assert len(s1.vals()) == 1
800
801 s1.vertices()
802
803 assert len(s1.vals()) == 2
804
805 s2 = Sketch().circle(1)
806
807 assert len(s2.vals()) == 1
808
809
810def test_bool_ops():

Callers

nothing calls this directly

Calls 5

SketchClass · 0.90
segmentMethod · 0.80
valsMethod · 0.45
verticesMethod · 0.45
circleMethod · 0.45

Tested by

no test coverage detected