def test_chordal_cycle_graph():
 if (not is_scipy_available):
  raise SkipTest('SciPy is not available')
 primes = [3, 5, 7, 11]
 for p in primes:
  G = chordal_cycle_graph(p)
  assert_equal(len(G), p)

def test_chordal_cycle_graph ( ) : if ( not is_scipy_available ) : raise SkipTest ( 'SciPy is not available' ) primes = [ 3 , 5 , 7 , 11 ] for p in primes : G = chordal_cycle_graph ( p ) assert_equal ( len ( G ) , p )
test for the :func:networkx .