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

Method testCompounds

tests/test_selectors.py:73–77  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

71 self.assertEqual(type(c.vertices().first().first().first().val()), Vertex)
72
73 def testCompounds(self):
74 c = CQ(makeUnitSquareWire())
75 self.assertEqual(0, c.compounds().size())
76 self.assertEqual(0, c.shells().size())
77 self.assertEqual(0, c.solids().size())
78
79 def testSolid(self):
80 c = CQ(makeUnitCube(False))

Callers

nothing calls this directly

Calls 5

makeUnitSquareWireFunction · 0.90
compoundsMethod · 0.80
sizeMethod · 0.45
shellsMethod · 0.45
solidsMethod · 0.45

Tested by

no test coverage detected