Mercurial > octave
diff doc/interpreter/testfun.txi @ 18534:f51c1498b9f3 stable
doc: Replace "builtin" with "built-in" for consistency and correctness.
* external.txi, func.txi, testfun.txi, doc_cache_create.m:
Replace "builtin" with "built-in" for consistency and correctness.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 01 Mar 2014 22:04:59 -0800 |
parents | d63878346099 |
children | 9ac2357f19bc 446c46af4b42 |
line wrap: on
line diff
--- a/doc/interpreter/testfun.txi Sat Mar 01 21:50:13 2014 -0800 +++ b/doc/interpreter/testfun.txi Sat Mar 01 22:04:59 2014 -0800 @@ -365,8 +365,8 @@ shorthand for @code{%!test assert (x, y, tol)} @end table -You can also create test scripts for builtins and your own C++ -functions. To do so put a file with the bare function name (no .m +You can also create test scripts for built-in functions and your own C++ +functions. To do so, put a file with the bare function name (no .m extension) in a directory in the load path and it will be discovered by the @code{test} function. Alternatively, you can embed tests directly in your C++ code: