Mercurial > hg > octave-lojdl
changeset 14405:7d5a653825b9
profshow.m: Add more input validation tests
* profshow.m: Add more input validation tests
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Fri, 24 Feb 2012 18:06:48 -0800 |
parents | 61cc4c715962 |
children | 98cf8aa9f8ba |
files | scripts/general/profshow.m |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/general/profshow.m +++ b/scripts/general/profshow.m @@ -98,5 +98,7 @@ %!error profshow () %!error profshow (1, 2, 3) -%!error profshow (struct (), 1.2) +%!error <N must be a positive integer> profshow (struct (), ones (2)) +%!error <N must be a positive integer> profshow (struct (), 1+i) +%!error <N must be a positive integer> profshow (struct (), -1)