diff scripts/testfun/demo.m @ 13065:1ca3cde15b18

codepsprint: tests for testfun functions * demo.m, rundemos.m: Trivial tests. * speed.m: New tests.
author John W. Eaton <jwe@octave.org>
date Sat, 03 Sep 2011 14:57:12 -0400
parents 6d4c18565de1
children e81ddf9cacd5
line wrap: on
line diff
--- a/scripts/testfun/demo.m
+++ b/scripts/testfun/demo.m
@@ -141,3 +141,6 @@
 %! plot (t,x)
 %! %-------------------------------------------------
 %! % the figure window shows one cycle of a sine wave
+
+%!error demo ();
+%!error demo (1, 2, 3);