(self)
| 12 | |
| 13 | class TestDipy(unittest.TestCase): |
| 14 | def test_scene(self): |
| 15 | xyz = 10 * np.random.rand(100, 3) |
| 16 | colors = np.random.rand(100, 4) |
| 17 | radii = np.random.rand(100) + 0.5 |
| 18 | |
| 19 | sphere_actor = actor.sphere(centers=xyz, colors=colors, radii=radii) |
| 20 | |
| 21 | scene = window.Scene() |
| 22 | scene.add(sphere_actor) |
| 23 | |
| 24 | self.assertEqual((0, 0), scene.GetSize()) |
| 25 | |
| 26 | def test_graph(self): |
| 27 | g = Graph() |
nothing calls this directly
no outgoing calls
no test coverage detected