Mercurial > hg > octave-nkf
comparison doc/interpreter/testfun.txi @ 18602: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 |
comparison
equal
deleted
inserted
replaced
18601:ea0d4dea1a17 | 18602:f51c1498b9f3 |
---|---|
363 | 363 |
364 @item %!assert (x, y, tol) | 364 @item %!assert (x, y, tol) |
365 shorthand for @code{%!test assert (x, y, tol)} | 365 shorthand for @code{%!test assert (x, y, tol)} |
366 @end table | 366 @end table |
367 | 367 |
368 You can also create test scripts for builtins and your own C++ | 368 You can also create test scripts for built-in functions and your own C++ |
369 functions. To do so put a file with the bare function name (no .m | 369 functions. To do so, put a file with the bare function name (no .m |
370 extension) in a directory in the load path and it will be discovered by | 370 extension) in a directory in the load path and it will be discovered by |
371 the @code{test} function. Alternatively, you can embed tests directly in your | 371 the @code{test} function. Alternatively, you can embed tests directly in your |
372 C++ code: | 372 C++ code: |
373 | 373 |
374 @example | 374 @example |