#NEWLINE# def test_double_add_vertex( self ) : #NEWLINE# #INDENT# g = Graph ( ) #NEWLINE# v = g . add_vertex ( 'double' ) #NEWLINE# assert ( self . label == 'double' ) #NEWLINE# assert ( g . size == 1 ) #NEWLINE# v = g . add_vertex ( 'double' ) #NEWLINE# assert ( g . size == 1 ) #NEWLINE# assert ( v . label == 'double' ) #NEWLINE# g . destroy ( )