Mercurial > octave
view test/mex/mexnumtst.tst @ 30239:120e878f343f
mkdir.m: issue a warning if DIR already exists (bug #61338)
* mkdir.m: When nargout==0, check status message and report a warning if
"directory exists" message found.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 13 Oct 2021 08:05:14 -0700 |
parents | 1188addabaad |
children |
line wrap: on
line source
%!test %! s = rand (3, 4, "single"); %! sc = s + i * rand (3, 4, "single"); %! d = rand (3, 4, "double"); %! dc = d + i * rand (3, 4, "double"); %! %! [sx, scx, dx, dcx] = mexnumtst (s, sc, d, dc); %! assert (s, sx) %! assert (sc, scx) %! assert (d, dx) %! assert (dc, dcx)