Description: Transform some tests that must be run interactively into demos
Author: Rafael Laboissiere <rafael@laboissiere.net>
Forwarded: not-needed
Last-Update: 2012-08-09

--- a/inst/deprecated/FPL2pdesurf.m
+++ b/inst/deprecated/FPL2pdesurf.m
@@ -116,7 +116,7 @@
 endfunction
 
 %!shared msh
-%!test
+%!demo
 %! msh.p = [0 0; 1 0; 1 1; 0 1].';
 %! msh.t = [1 2 3 1; 1 3 4 1].';
 %! msh.e = [1 2 0 0 1 0 1; 2 3 0 0 2 0 1; 3 4 0 0 3 0 1; 4 1 0 0 4 0 1].';
@@ -124,7 +124,7 @@
 %! FPL2pdesurf (msh, u, "data_dep", "connections");
 %! s = input ("do you see a square divided into two triangles with a diagonal red-to-blue gradient color (if you see an empty plot try ctrl-F)? (y/n): " ,"s");
 %! assert(s, "y")
-%!test
+%!demo
 %! v = [0 0 1 1].';
 %! FPL2pdesurf (msh, v);
 %! s = input ("do you see a square divided into two triangles with a vertical red-to-blue gradient color (if you see an empty plot try ctrl-F)? (y/n): " ,"s");
--- a/inst/deprecated/FPL2pdeshowmesh.m
+++ b/inst/deprecated/FPL2pdeshowmesh.m
@@ -85,7 +85,7 @@
 
 endfunction
 
-%!test
+%!demo
 %! msh.p = [0 0; 1 0; 1 1; 0 1].';
 %! msh.t = [1 2 3 1; 1 3 4 1].';
 %! msh.e = [1 2 0 0 1 0 1; 2 3 0 0 2 0 1; 3 4 0 0 3 0 1; 4 1 0 0 4 0 1].';
