Mercurial > hg > octave-lyh
diff scripts/testfun/assert.m @ 9051:1bf0ce0930be
Grammar check TexInfo in all .m files
Cleanup documentation sources to follow a few consistent rules.
Spellcheck was NOT done. (but will be in another changeset)
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Fri, 27 Mar 2009 22:31:03 -0700 |
parents | 46a12e3f882c |
children | 330672f4daaa |
line wrap: on
line diff
--- a/scripts/testfun/assert.m +++ b/scripts/testfun/assert.m @@ -23,7 +23,7 @@ ## @deftypefnx {Function File} {} assert (@var{observed},@var{expected}) ## @deftypefnx {Function File} {} assert (@var{observed},@var{expected},@var{tol}) ## -## Produces an error if the condition is not met. @code{assert} can be +## Produces an error if the condition is not met. @code{assert} can be ## called in three different ways. ## ## @table @code @@ -31,12 +31,12 @@ ## @itemx assert (@var{cond}, @var{errmsg}, @dots{}) ## @itemx assert (@var{cond}, @var{msg_id}, @var{errmsg}, @dots{}) ## Called with a single argument @var{cond}, @code{assert} produces an -## error if @var{cond} is zero. If called with a single argument a -## generic error message. With more than one argument, the additional +## error if @var{cond} is zero. If called with a single argument a +## generic error message. With more than one argument, the additional ## arguments are passed to the @code{error} function. ## ## @item assert (@var{observed}, @var{expected}) -## Produce an error if observed is not the same as expected. Note that +## Produce an error if observed is not the same as expected. Note that ## observed and expected can be strings, scalars, vectors, matrices, ## lists or structures. ##