(self)
| 7 | |
| 8 | class DiskCutterTest(TestCase): |
| 9 | def test_cut_sphere(self): |
| 10 | mesh = generate_icosphere(1.0, np.zeros(3)) |
| 11 | self.assertEqual(2, mesh.euler_characteristic) |
| 12 | mesh = cut_to_disk(mesh) |
| 13 | num_bd_loops = mesh.num_boundary_loops |
| 14 | self.assertEqual(0, num_bd_loops) |
| 15 | self.assertEqual(2-num_bd_loops, mesh.euler_characteristic) |
| 16 | |
| 17 | def test_cut_tube(self): |
| 18 | mesh = generate_tube(np.zeros(3), np.ones(3), 1.0, 0.5, 1.0, 0.5) |
nothing calls this directly
no test coverage detected