#NEWLINE# def test_object_data( self ) : #NEWLINE# #INDENT# H = FiboHeap ( ) #NEWLINE# n1 = H . insert ( 1 , 'this is a string' ) #NEWLINE# self . assertEquals ( 'this is a string' , H . get_node_data ( n1 ) ) #NEWLINE# n2 = H . insert ( 2 ) #NEWLINE# H . replace_data ( n2 , ( 1 , 2 ) ) #NEWLINE# self . assertEquals ( ( 1 , 2 ) , H . get_node_data ( H ) ) #NEWLINE# self . assertEquals ( 'this is a string' , H . extract ( ) )