22
edits
ArunGiridhar (talk | contribs) (→Expected Failures and Known Bugs: Rm very dubious. It doesn't do that for any of my builds.) Tags: Mobile edit Mobile web edit Advanced mobile edit |
AndrewJanke (talk | contribs) (Update "Test and Demo Functions" link to use latest manual instead of v6.4.0 specifically) |
||
Line 35: | Line 35: | ||
== Writing tests == | == Writing tests == | ||
(Please see the latest version of the [https://octave.org/doc/latest/index.html Octave manual] for complete documentation on [https://octave.org/doc/ | (Please see the latest version of the [https://octave.org/doc/latest/index.html Octave manual] for complete documentation on [https://octave.org/doc/latest/Test-and-Demo-Functions.html Test and Demo Functions].) | ||
Tests appear as <code>%!</code> blocks at the bottom of the source file, together with <code>%!demo</code> blocks. A typical m function file, will have the following structure: | Tests appear as <code>%!</code> blocks at the bottom of the source file, together with <code>%!demo</code> blocks. A typical m function file, will have the following structure: |
edits