Diff of /inst/decode.m [67ecc4] .. [f62e8c]  Maximize  Restore

Switch to side-by-side view

--- a/inst/decode.m
+++ b/inst/decode.m
@@ -284,3 +284,12 @@
   endif
 
 endfunction
+
+%% Test input validation
+%!error decode ()
+%!error decode (1)
+%!error decode (1, 2)
+%!error decode (1, 2, 3, 4, 5, 6, 7)
+%!error decode (1, 2, 3)
+%!error decode (1, 5, 6)
+%!error decode (1, 5, 3, "invalid")

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks