PageRenderTime 41ms CodeModel.GetById 30ms app.highlight 8ms RepoModel.GetById 0ms app.codeStats 2ms

/tags/rel-1.3.35/Examples/test-suite/octave/ret_by_value_runme.m

#
MATLAB | 10 lines | 8 code | 2 blank | 0 comment | 2 complexity | 076a972c7c01327a1566738fedb77afd MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
 1ret_by_value
 2
 3a = ret_by_value.get_test();
 4if (a.myInt != 100)
 5    error
 6endif
 7
 8if (a.myShort != 200)
 9    error
10endif