Beispiel #1
0
 def test_order(self):
     assert 0 == Graph().order()
     assert 1 == Graph([v, ]).order()
     assert 4 == Graph([v, w, x, y]).order()
     g = Graph(make_vertices(10))
     assert 10 == g.order()