#NEWLINE# def test_m_matrix_output_autoname( ) : #NEWLINE# #INDENT# expr = Matrix ( [ [ x , ( x + y ) , 3 ] ] ) #NEWLINE# name_expr = ( 'test' , expr ) #NEWLINE# ( result , ) = codegen ( name_expr , 'Octave' , header = False , empty = False ) #NEWLINE# source = expected [ 1 ] #NEWLINE# expected = 'function out1 = test(x, y)\n  out1 = [x x + y 3];\nend\n' #NEWLINE# assert ( source == expected )