(self)
| 5545 | self.assertEqual(vs3.toTuple(), approx((a, -a * math.tan(math.radians(45)), 0))) |
| 5546 | |
| 5547 | def test_combineWithBase(self): |
| 5548 | # Test the helper mehod _combinewith |
| 5549 | |
| 5550 | box = Workplane().box(10, 10, 10) |
| 5551 | sphere = box.faces(">Z").sphere(2) |
| 5552 | new_box = box._combineWithBase(sphere.val()) |
| 5553 | |
| 5554 | self.assertGreater(new_box.val().Volume(), box.val().Volume()) |
| 5555 | |
| 5556 | def test_cutFromBase(self): |
| 5557 | # Test the helper method _cutFromBase |