File: test_matching.py

package info (click to toggle)
python-networkx 1.11-1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 5,856 kB
  • sloc: python: 59,463; makefile: 159
file content (8 lines) | stat: -rw-r--r-- 214 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
from nose.tools import *
import networkx as nx
import networkx.algorithms.approximation as a

def test_min_maximal_matching():
    # smoke test
    G = nx.Graph()
    assert_equal(len(a.min_maximal_matching(G)),0)