changeset 621:34c328bf0301

iptcheckmap: add tests
author carandraug
date Wed, 26 Sep 2012 14:37:32 +0000
parents 86d62da2b0b2
children b1e12adbae67
files inst/iptcheckmap.m
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/inst/iptcheckmap.m
+++ b/inst/iptcheckmap.m
@@ -50,3 +50,6 @@
   endif
 
 endfunction
+
+%!test ("iptcheckmap (jet(64), 'func', 'var', 2)");                 # simple must work
+%!fail ("iptcheckconn (3, 'func', 'var', 2)");                      # not a colormap