Mercurial > octave-nkf
diff doc/interpreter/testfun.txi @ 10828:322f43e0e170
Grammarcheck .txi documentation files.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Wed, 28 Jul 2010 12:45:04 -0700 |
parents | 3b77db443cc0 |
children | a4f482e66b65 |
line wrap: on
line diff
--- a/doc/interpreter/testfun.txi Wed Jul 28 11:57:39 2010 -0700 +++ b/doc/interpreter/testfun.txi Wed Jul 28 12:45:04 2010 -0700 @@ -42,7 +42,7 @@ Since @code{eval()} will stop at the first error it encounters, you must divide your tests up into blocks, with anything in a separate block evaluated separately. Blocks are introduced by the keyword -@code{test} immediately following the @code{%!}. For example, +@code{test} immediately following the @code{%!}. For example: @example @group @@ -246,18 +246,25 @@ @table @code @item %!test check that entire block is correct + @item %!error check for correct error message + @item %!warning check for correct warning message + @item %!demo demo only executes in interactive mode + @item %!# comment: ignore everything within the block + @item %!shared x,y,z declares variables for use in multiple tests + @item %!function defines a function value for a shared variable + @item %!assert (x, y, tol) shorthand for %!test assert (x, y, tol) @end table