#NEWLINE# def test_template_function( self ) : #NEWLINE# #INDENT# nodes = list ( MakeBuilder ( 'template <> void equal<0>();' ) . generate ( ) ) #NEWLINE# self . assertEqual ( 1 , len ( nodes ) , repr ( nodes ) ) #NEWLINE# self . assertEqual ( Function ( 'equal' , list ( get_tokens ( 'void' ) ) , [ ] , specializations = [ Type ( '0' ) ] , templated_types = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) , nodes [ 0 ] )