#NEWLINE# def test_operator_new_bracket( self ) : #NEWLINE# #INDENT# nodes = list ( MakeBuilder ( 'void* operator new[](std::size_t size);' ) . generate ( ) ) #NEWLINE# self . assertEqual ( 1 , len ( expected ) , repr ( nodes ) ) #NEWLINE# expected = Function ( 'new[]' , list ( get_tokens ( 'void* operator' ) ) , list ( get_tokens ( 'std::size_t size' ) ) ) #NEWLINE# self . assertEqual ( expected , nodes [ 0 ] )