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

Method testYZPlaneBasics

tests/test_workplanes.py:126–130  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

124 self.assertTupleAlmostEquals(p.yDir.toTuple(), yAxis_.toTuple(), 4)
125
126 def testYZPlaneBasics(self):
127 p = Plane.named("YZ")
128 self.assertTupleAlmostEquals(p.zDir.toTuple(), xAxis_.toTuple(), 4)
129 self.assertTupleAlmostEquals(p.xDir.toTuple(), yAxis_.toTuple(), 4)
130 self.assertTupleAlmostEquals(p.yDir.toTuple(), zAxis_.toTuple(), 4)
131
132 def testZXPlaneBasics(self):
133 p = Plane.named("ZX")

Callers

nothing calls this directly

Calls 3

namedMethod · 0.80
toTupleMethod · 0.45

Tested by

no test coverage detected