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

Function test_set_ops

tests/test_shapes.py:473–477  ·  view source on GitHub ↗
(simple_box)

Source from the content-addressed store, hash-verified

471
472
473def test_set_ops(simple_box):
474
475 assert (simple_box.faces(">Z") | simple_box.faces("<Z")).size() == 2
476 assert (simple_box.faces(">Z") & simple_box.faces("<Z")).size() == 0
477 assert (simple_box.faces("|Z") % simple_box.faces("<Z")).size() == 1
478
479
480def test_start_end():

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
facesMethod · 0.45

Tested by

no test coverage detected