Assertions
Assertion statements are written as:
assert a;
When in debug or test mode, and a
evaluates to false, a runtime error occurs. When in release mode, assertions are ignored (see configure regarding modes).
Assertion statements are written as:
assert a;
When in debug or test mode, and a
evaluates to false, a runtime error occurs. When in release mode, assertions are ignored (see configure regarding modes).