comparison scripts/strings/isstring.m @ 31254:5d6b058a22dc

maint: use sequence "%!#" to disable BIST tests. * interp1.m, logspace.m, triplequad.m, textread.m, __w2mpth__.m, ode15i.m, __print_parse_opts__.m, ichol.m, discrete_rnd.m, isstring.m: Use sequence "%!#" to disable BIST tests.
author Rik <rik@octave.org>
date Tue, 04 Oct 2022 07:34:47 -0700
parents 83f9f8bda883
children caf42f5c3f4e 597f3ee61a48
comparison
equal deleted inserted replaced
31253:a40c0b7aa376 31254:5d6b058a22dc
53 53
54 %!assert (isstring ([]), false) 54 %!assert (isstring ([]), false)
55 %!assert (isstring (1), false) 55 %!assert (isstring (1), false)
56 %!assert (isstring ('a'), false) 56 %!assert (isstring ('a'), false)
57 ## FIXME: when string arrays are implemented, this should return true. 57 ## FIXME: when string arrays are implemented, this should return true.
58 #%!assert (isstring ("b"), true) 58 %!#assert (isstring ("b"), true)
59 %!assert (isstring ({'a'}), false) 59 %!assert (isstring ({'a'}), false)
60 %!assert (isstring ({"b"}), false) 60 %!assert (isstring ({"b"}), false)
61 61
62 %!error <Invalid call> isstring () 62 %!error <Invalid call> isstring ()
63 %!error isstring ("a", "b") 63 %!error isstring ("a", "b")