Mercurial > hg > octave-lyh
comparison scripts/testfun/assert.m @ 9313:330672f4daaa
fix texinfo bug
author | Thorsten Meyer <thorsten.meyier@gmx.de> |
---|---|
date | Sun, 07 Jun 2009 21:01:32 +0200 |
parents | 1bf0ce0930be |
children | bb2ae2210e37 |
comparison
equal
deleted
inserted
replaced
9312:0f7480d07f6a | 9313:330672f4daaa |
---|---|
17 ## <http://www.gnu.org/licenses/>. | 17 ## <http://www.gnu.org/licenses/>. |
18 | 18 |
19 ## -*- texinfo -*- | 19 ## -*- texinfo -*- |
20 ## @deftypefn {Function File} {} assert (@var{cond}) | 20 ## @deftypefn {Function File} {} assert (@var{cond}) |
21 ## @deftypefnx {Function File} {} assert (@var{cond}, @var{errmsg}, @dots{}) | 21 ## @deftypefnx {Function File} {} assert (@var{cond}, @var{errmsg}, @dots{}) |
22 ## @deftypefnx {Function File} {} assert (@var{cond}, @{var{msg_id}, @var{errmsg}, @dots{}) | 22 ## @deftypefnx {Function File} {} assert (@var{cond}, @var{msg_id}, @var{errmsg}, @dots{}) |
23 ## @deftypefnx {Function File} {} assert (@var{observed},@var{expected}) | 23 ## @deftypefnx {Function File} {} assert (@var{observed},@var{expected}) |
24 ## @deftypefnx {Function File} {} assert (@var{observed},@var{expected},@var{tol}) | 24 ## @deftypefnx {Function File} {} assert (@var{observed},@var{expected},@var{tol}) |
25 ## | 25 ## |
26 ## Produces an error if the condition is not met. @code{assert} can be | 26 ## Produces an error if the condition is not met. @code{assert} can be |
27 ## called in three different ways. | 27 ## called in three different ways. |