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

Method testZXPlaneBasics

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

Source from the content-addressed store, hash-verified

130 self.assertTupleAlmostEquals(p.yDir.toTuple(), zAxis_.toTuple(), 4)
131
132 def testZXPlaneBasics(self):
133 p = Plane.named("ZX")
134 self.assertTupleAlmostEquals(p.zDir.toTuple(), yAxis_.toTuple(), 4)
135 self.assertTupleAlmostEquals(p.xDir.toTuple(), zAxis_.toTuple(), 4)
136 self.assertTupleAlmostEquals(p.yDir.toTuple(), xAxis_.toTuple(), 4)
137
138 def testXZPlaneBasics(self):
139 p = Plane.named("XZ")

Callers

nothing calls this directly

Calls 3

namedMethod · 0.80
toTupleMethod · 0.45

Tested by

no test coverage detected