MCPcopy Create free account
hub / github.com/Kaggle/docker-python / TestIgraph

Class TestIgraph

tests/test_igraph.py:6–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4
5
6class TestIgraph(unittest.TestCase):
7 def test_graph(self):
8 # Create a graph with 10 vertices & 2 children each.
9 g2 = Graph.Tree(n=10, children=2)
10
11 self.assertEqual(9, len(g2.get_edgelist()))
12

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected