def test_RemoveVertex(self): graph = SimpleGraph(5) self.addVertexes(graph, [0, 1, 2]) graph.AddEdge(0, 1) graph.AddEdge(0, 2) graph.RemoveVertex(0) self.checkVertexAdjacency(graph, 0, [0] * 5)