(self)
| 566 | ) |
| 567 | |
| 568 | def testInvalidPlane(self): |
| 569 | # Test plane creation error handling |
| 570 | with self.assertRaises(ValueError): |
| 571 | Plane.named("XX", (0, 0, 0)) |
| 572 | with self.assertRaises(ValueError): |
| 573 | Plane(origin=(0, 0, 0), xDir=(0, 0, 0), normal=(0, 1, 1)) |
| 574 | with self.assertRaises(ValueError): |
| 575 | Plane(origin=(0, 0, 0), xDir=(1, 0, 0), normal=(0, 0, 0)) |
| 576 | |
| 577 | def testPlaneMethods(self): |
| 578 | # Test error checking |