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

Function test_add

tests/test_sketch.py:927–933  ·  view source on GitHub ↗
(s3, f)

Source from the content-addressed store, hash-verified

925
926
927def test_add(s3, f):
928
929 # we do not clean, so adding will increase the number of edges
930 assert len(s3.map(lambda x: f).add().reset().val().Edges()) == 10
931
932 # check that adding without selection does not raise
933 s3.add()
934
935
936def test_subtract(s3, f):

Callers

nothing calls this directly

Calls 5

EdgesMethod · 0.80
resetMethod · 0.80
valMethod · 0.45
addMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected