#NEWLINE# def testElapsed( self ) : #NEWLINE# #INDENT# start = time . time ( ) #NEWLINE# timer = Timer ( ) #NEWLINE# self . assertEqual ( round ( timer . elapsed , 2 ) , round ( ( time . time ( ) - start ) , 2 ) ) #NEWLINE# time . sleep ( 1 ) #NEWLINE# self . assertEqual ( round ( timer . elapsed , 2 ) , round ( ( time . time ( ) - start ) , 2 ) )