test_matching.py 186 B

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