Mercurial > hg > octave-terminal
changeset 12834:a12569d5906e
codesprint: new tests for ispc, ismac, isunix
* ismac.m, ispc.m, isunix.m: Trivial new tests.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 16 Jul 2011 17:37:31 -0400 |
parents | 9f0f2c226053 |
children | 0e65376cc44b |
files | scripts/miscellaneous/ismac.m scripts/miscellaneous/ispc.m scripts/miscellaneous/isunix.m |
diffstat | 3 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/miscellaneous/ismac.m +++ b/scripts/miscellaneous/ismac.m @@ -32,3 +32,5 @@ endfunction +%!error ismac (1); +%!assert (islogical (ismac ()));