self_test

From ASCEND
Revision as of 00:37, 4 April 2011 by Jpye (talk | contribs) (Created page with '{{DISPLAYTITLE:self_test}} A '''self_test''' METHOD in a MODEL can be used to check that the default model configuration (eg that acheived by running on_load) has sol…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A self_test METHOD in a MODEL can be used to check that the default model configuration (eg that acheived by running on_load) has solved properly and given the expected results. Normally this method would contain a number of ASSERT statements to check different variable values.

See also METHODS.