import networkx as nx from .draw import draw_graph def test_graph_creation(G_Edge_Case: nx.Graph): assert G_Edge_Case.number_of_nodes() == 3 assert G_Edge_Case.number_of_edges() == 3 def test_print_graph(G_Edge_Case: nx.Graph): draw_graph(G_Edge_Case, 'graph.tex')