9 lines
186 B
Python
9 lines
186 B
Python
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
|