1 2 3 4 5 6 7 8
import networkx as nx import networkx.algorithms.approximation as a def test_min_maximal_matching(): # smoke test G = nx.Graph() assert len(a.min_maximal_matching(G)) == 0