Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

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

  Switch to side-by-side view

--- a/inst/pskdemod.m
+++ b/inst/pskdemod.m
@@ -68,3 +68,8 @@
 
 %!assert (pskdemod ([1 j -1 -j], 4, 0, "Bin"), [0:3])
 %!assert (pskdemod ([1 j -j -1], 4, 0, "Gray"), [0:3])
+
+%% Test input validation
+%!error pskdemod ()
+%!error pskdemod (1)
+%!error pskdemod (1, 2, 3, "invalid")