MG Library

Library of Michael Galloy

single page | use frames     summary     class     fields     routine details     file attributes

mgunit/

assert.pro

topassert

assert, condition [, msg]

Raises an error if the given condition is not met.

Parameters

condition in required type=boolean

condition to assert

msg in optional type=string default="Assertion failed"

message to throw if condition is not met

File attributes

Modification date: Tue Nov 20 11:24:27 2007
Lines: 13