#NEWLINE# def test_remove_node( self ) : #NEWLINE# #INDENT# gr = testlib . new_hypergraph ( ) #NEWLINE# gr . del_node ( 0 ) #NEWLINE# self . assertTrue ( ( 0 not in gr . nodes ( ) ) ) #NEWLINE# for e in gr . hyperedges ( ) : #NEWLINE# #INDENT# for n in gr . links ( n ) : #NEWLINE# #INDENT# self . assertTrue ( ( n in gr . nodes ( ) ) )