Mercurial > octave-nkf
view test/bug-38565.tst @ 18820:ff613b6a7b6f
Add tests for empty value and correct alphanumerical value comparision of isequal (bug #42408).
* isequal.m: Add new #!tests.
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Fri, 23 May 2014 16:28:37 +0200 |
parents | b9e510a1f308 |
children |
line wrap: on
line source
%!function r = f (x) %! if (ischar (x)) %! r = x; %! else %! error ("expecting character string"); %! endif %!endfunction %!assert (eval ("f 10;"), "10");