PageRenderTime 44ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/trunk/Examples/test-suite/octave/li_std_wstream_runme.m

#
MATLAB | 14 lines | 7 code | 7 blank | 0 comment | 1 complexity | b873dd1c2fcab9406e8952478a22616c MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. li_std_wstream
  2. a = A();
  3. o = wostringstream();
  4. o << a << u" " << 2345 << u" " << 1.435 << wends;
  5. if (o.str() != "A class 2345 1.435\0")
  6. error
  7. endif