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

Method testZYPlaneBasics

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

Source from the content-addressed store, hash-verified

148 self.assertTupleAlmostEquals(p.yDir.toTuple(), xAxis_.toTuple(), 4)
149
150 def testZYPlaneBasics(self):
151 p = Plane.named("ZY")
152 self.assertTupleAlmostEquals(p.zDir.toTuple(), xInvAxis_.toTuple(), 4)
153 self.assertTupleAlmostEquals(p.xDir.toTuple(), zAxis_.toTuple(), 4)
154 self.assertTupleAlmostEquals(p.yDir.toTuple(), yAxis_.toTuple(), 4)
155
156 def test_mirror(self):
157 """Create a unit box and mirror it so that it doubles in size"""

Callers

nothing calls this directly

Calls 3

namedMethod · 0.80
toTupleMethod · 0.45

Tested by

no test coverage detected