#NEWLINE# def test_complex_default_value( self ) : #NEWLINE# #INDENT# tokens = get_tokens ( 'int i = 4 * 2)' ) #NEWLINE# results = self . converter . to_parameters ( list ( tokens ) ) #NEWLINE# self . assertEqual ( 1 , len ( results ) , repr ( results ) ) #NEWLINE# self . assertEqual ( [ ] , results [ 0 ] . type . modifiers ) #NEWLINE# self . assertEqual ( 'int' , results [ 0 ] . type . name ) #NEWLINE# self . assertEqual ( [ ] , results [ 0 ] . type . templated_types ) #NEWLINE# self . assertEqual ( False , results [ 0 ] . type . pointer ) #NEWLINE# self . assertEqual ( False , results [ 0 ] . type . reference ) #NEWLINE# self . assertEqual ( False , results [ 0 ] . type . array ) #NEWLINE# self . assertEqual ( 'i' , results [ 0 ] . name )