Skip to content
Snippets Groups Projects
Commit c5917cf0 authored by markn92's avatar markn92
Browse files

minor

parent f0ee9f84
No related branches found
No related tags found
No related merge requests found
import pytest
from .config import edge_case, get_graph
@pytest.fixture
def G_Edge_Case():
G = get_graph(edge_case)
yield G
del G
import networkx as nx
from .config import get_graph, edge_case
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_edge_case():
G = get_graph(edge_case)
assert G.number_of_nodes() == 3
assert G.number_of_edges() == 3
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment