What is assertion?

assertion A Boolean statement in a program's debug version that tests a condition that should evaluate as true, provided the program is operating correctly. If the condition is false, an error has occurred; thus, the program will typically issue an error message that gives a user the option to abort the program, activate the
debugger, or ignore the error.

No comments: