Sign in
android
/
platform
/
prebuilts
/
python
/
linux-x86
/
2.7.5
/
8f104e0b76a7cdb1c31a52c03d3ce47a0eea156c
/
.
/
lib
/
python2.7
/
site-packages
/
setoolsgui
/
networkx
/
algorithms
/
approximation
/
tests
/
test_independent_set.py
blob: 8825ec89699dfe45b0b3cf91d1cf542416bb84b1 [
file
] [
log
] [
blame
]
from
nose
.
tools
import
*
import
networkx
as
nx
import
networkx
.
algorithms
.
approximation
as
a
def
test_independent_set
():
# smoke test
G
=
nx
.
Graph
()
assert_equal
(
len
(
a
.
maximum_independent_set
(
G
)),
0
)