#NEWLINE# def test_add_and_result( self ) : #NEWLINE# #INDENT# comp = algo . MinComputation ( ) #NEWLINE# [ comp . add ( i ) for i in [ 3 , 5.2 , 2 , ( - 1 ) , 1 , 8 , 33.4 , 0 , ( - 3 ) , 42 , ( - 2 ) ] ] #NEWLINE# self . assertEqual ( ( - 3 ) , comp . result ( ) )