Content deleted Content added
m Bot: removing misplaced special no-break space character and minor changes |
Giraffedata (talk | contribs) Clarify. Assertion checking is incidental to an assertion. |
||
Line 1:
{{About|the computer programming concept|assertions in the context of the [[Security Assertion Markup Language]] (SAML) open standard|Security Assertion Markup Language#Assertions}}
In [[computer programming]], an '''assertion''' is a [[Statement (computer science)|statement]] that a [[Predicate (mathematical logic)|predicate]] ([[Boolean-valued function]], i.e. a true–false [[Expression (computer science)|expression]]) is
For the latter, some programs check assertions by actually evaluating the predicate as they run and if it is not in fact true, an assertion failure, the program considers itself to be broken and typically deliberately [[Crash (computing)|crashes]] or throws an assertion failure [[exception handling|exception]].
== Details ==
|