File: test_matching.py

package info (click to toggle)
python-networkx 1.9%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 5,052 kB
  • ctags: 3,986
  • sloc: python: 52,132; makefile: 176
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)