#NEWLINE# def test_precomputed( self ) : #NEWLINE# #INDENT# for ( func , data , elem , expected ) in self . precomputedCases : #NEWLINE# #INDENT# self . assertEqual ( func ( data , elem ) , expected ) #NEWLINE# self . assertEqual ( func ( UserList ( data ) , elem ) , expected )