(self)
| 17 | class TestUcinet: |
| 18 | @classmethod |
| 19 | def setup_class(self): |
| 20 | self.G = eg.MultiDiGraph() |
| 21 | self.G.add_nodes_from(["a", "b", "c", "d", "e"]) |
| 22 | self.G.add_edges_from( |
| 23 | [ |
| 24 | ("a", "b"), |
| 25 | ("a", "c"), |
| 26 | ("a", "d"), |
| 27 | ("a", "e"), |
| 28 | ("b", "a"), |
| 29 | ("b", "c"), |
| 30 | ("b", "d"), |
| 31 | ("c", "a"), |
| 32 | ("c", "b"), |
| 33 | ("d", "a"), |
| 34 | ("d", "b"), |
| 35 | ("e", "a"), |
| 36 | ] |
| 37 | ) |
| 38 | try: |
| 39 | pass |
| 40 | except ImportError: |
| 41 | raise SkipTest("NumPy not available.") |
| 42 | |
| 43 | def test_generate_ucinet(self): |
| 44 | Gout = eg.generate_ucinet(self.G) |
nothing calls this directly
no test coverage detected