#NEWLINE# def test_MultipleTempAssign( setup_sim ) : #NEWLINE# #INDENT# model = MultipleTempAssign ( ) #NEWLINE# ( model , sim ) = setup_sim ( test ) #NEWLINE# def test( i0 , i1 , i2 , out ) : #NEWLINE# #INDENT# model . in0 . value = i0 #NEWLINE# model . in1 . value = i1 #NEWLINE# model . in2 . value = i2 #NEWLINE# sim . eval_combinational ( ) #NEWLINE# assert ( model . out0 == out ) #NEWLINE# assert ( model . out1 == out ) #NEWLINE# #UNINDENT# test ( 1 , 1 , 1 , 69 ) #NEWLINE# test ( 0 , 0 , 0 , 0 ) #NEWLINE# test ( 1 , 15 , 3 , 127 ) #NEWLINE# test ( 0 , 8 , 2 , 34 ) #NEWLINE# test ( 1 , 5 , 1 , 85 )