#NEWLINE# def test_m_InOutArgument_order( ) : #NEWLINE# #INDENT# expr = Equality ( x , ( ( x ** 2 ) + y ) ) #NEWLINE# name_expr = ( 'test' , expr ) #NEWLINE# ( result , ) = codegen ( name_expr , 'Octave' , header = False , empty = False , argument_sequence = ( x , y ) ) #NEWLINE# source = result [ 1 ] #NEWLINE# expected = 'function x = test(x, y)\n  x = x.^2 + y;\nend\n' #NEWLINE# assert ( source == expected ) #NEWLINE# expr = Equality ( x , ( ( x ** 2 ) + y ) ) #NEWLINE# name_expr = ( 'test' , expr ) #NEWLINE# ( result , ) = codegen ( name_expr , 'Octave' , header = False , empty = False ) #NEWLINE# source = result [ 1 ] #NEWLINE# expected = 'function x = test(x, y)\n  x = x.^2 + y;\nend\n' #NEWLINE# assert ( source == expected )