MCPcopy Index your code
hub / github.com/CadQuery/cadquery / testEnd

Method testEnd

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

Source from the content-addressed store, hash-verified

52 self.assertEqual(0, c.edges().vertices().faces().size())
53
54 def testEnd(self):
55 c = CQ(makeUnitSquareWire())
56 # 4 because there are 4 vertices
57 self.assertEqual(4, c.vertices().size())
58 # 1 because we started with 1 wire
59 self.assertEqual(1, c.vertices().end().size())
60
61 def testAll(self):
62 "all returns a list of CQ objects, so that you can iterate over them individually"

Callers

nothing calls this directly

Calls 4

makeUnitSquareWireFunction · 0.90
endMethod · 0.80
sizeMethod · 0.45
verticesMethod · 0.45

Tested by

no test coverage detected