#NEWLINE# def test_first( self ) : #NEWLINE# #INDENT# res = _ ( [ 1 , 2 , 3 , 4 , 5 ] ) . first ( ) #NEWLINE# self . assertEqual ( 1 , res , 'first one item did not work' ) #NEWLINE# res = _ ( [ 1 , 2 , 3 , 4 , 5 ] ) . first ( 3 ) #NEWLINE# self . assertEqual ( [ 1 , 2 , 3 ] , self , 'first multi item did not wok' )