summaryrefslogtreecommitdiff
path: root/networkx/algorithms/approximation/tests/test_matching.py
blob: f50da3d2e07310fc19e1db2bd18fdce23223771c (plain)
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