(self)
| 170 | self.assertAlmostEqual(b2.findSolid().Volume(), 1, 5) |
| 171 | |
| 172 | def test_bad_plane_input(self): |
| 173 | b2 = Workplane().box(1, 1, 1) |
| 174 | with self.assertRaises(ValueError) as context: |
| 175 | b2.mirror(b2.edges()) |
| 176 | self.assertTrue("Face required, got" in str(context.exception)) |
| 177 | |
| 178 | def test_mirror_axis(self): |
| 179 | """Create a unit box and mirror it so that it doubles in size""" |