#NEWLINE# def passthrough_tester( model_type , setup_sim ) : #NEWLINE# #INDENT# model = model_type ( 16 ) #NEWLINE# ( model , sim ) = setup_sim ( model ) #NEWLINE# model . in_ . v = 8 #NEWLINE# sim . eval_combinational ( ) #NEWLINE# assert ( model . out == 8 ) #NEWLINE# assert ( model_type . out . v == 8 ) #NEWLINE# model . in_ . v = 9 #NEWLINE# model . in_ . v = 10 #NEWLINE# sim . eval_combinational ( ) #NEWLINE# assert ( model . out == 10 )