self_test

From ASCEND
Jump to: navigation, 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.