def test_Vertex_get_directed_edges_2(): vertex = Vertex(1) edge_1 = Vertex(2) edge_2 = Vertex(3) vertex.directed_edges = {edge_1, edge_2} assert vertex.get_directed_edges() == {edge_1, edge_2}
def test_Vertex_get_directed_edges_1(): vertex = Vertex(1) assert vertex.get_directed_edges() == set()