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

Function test_apply

tests/test_sketch.py:880–882  ·  view source on GitHub ↗
(s1, f)

Source from the content-addressed store, hash-verified

878
879
880def test_apply(s1, f):
881
882 assert s1.apply(lambda x: [f]).val().Area() == approx(0.1)
883
884
885def test_map(s1, f):

Callers

nothing calls this directly

Calls 3

AreaMethod · 0.45
valMethod · 0.45
applyMethod · 0.45

Tested by

no test coverage detected