Mercurial > forge
view extra/testfun/index.html @ 0:6b33357c7561 octave-forge
Initial revision
author | pkienzle |
---|---|
date | Wed, 10 Oct 2001 19:54:49 +0000 |
parents | |
children |
line wrap: on
line source
<html><head><title>TestPAK: embedded tests for Octave scripts</title></head> <body> <h1>TestPAK: embedded tests for Octave scripts</h1> <ul> <li><a href=testfun/example.m>example</a>, <a href=testfun/demo.m>demo</a><br> example('name') shows sample code for using function 'name', and demo('name') runs that code. The examples are stored in the script file for each function. Not all functions have examples (yet). <li><a href=testfun/test.m>test</a><br> test('name') runs all test code associated with the function 'name'. The test code is stored in the script file for each function. Not all functions have tests written (yet). <li><a href=testfun/assert.m>assert</a>, <a href=testfun/pretty.cc>pretty</a><br> assert(x,y) produces an error if x != y. pretty(x) formats the data in x, no matter what it is, and is used by assert to construct the error message. <li><a href=testfun/octave-mod.el>emacs support</a> for test code in octave scripts. Also available as a <a href=testfun/octave-mod.diff>diff against 2.0.14</a> </ul> </body></html>