#NEWLINE# def test_add( self ) : #NEWLINE# #INDENT# function_set = FunctionSet ( self . functions ) #NEWLINE# def function4( ) : #NEWLINE# #INDENT# return 'function4' #NEWLINE# #UNINDENT# function_set . add ( function4 ) #NEWLINE# self . assertIn ( function4 , function_set ) #NEWLINE# self . assertEqual ( len ( function_set ) , 4 ) #NEWLINE# function_set . add ( function4 . functions [ 1 ] ) #NEWLINE# self . assertIn ( self . functions [ 1 ] , function_set ) #NEWLINE# self . assertEqual ( len ( function_set ) , 4 )