Logo

Programming-Idioms

History of Idiom 123 > diff from v33 to v34

Edit summary for version 34 by jasom:
New Lisp implementation by user [jasom]

Version 33

2021-03-26, 18:38:09

Version 34

2021-08-17, 00:16:42

Idiom #123 Assert condition

Verify that predicate isConsistent returns true, otherwise report assertion violation.
Explain if the assertion is executed even in production environment or not.

Idiom #123 Assert condition

Verify that predicate isConsistent returns true, otherwise report assertion violation.
Explain if the assertion is executed even in production environment or not.

Variables
isConsistent
Variables
isConsistent
Extra Keywords
debug testing test
Extra Keywords
debug testing test
Code
(assert isConsistent)
Comments bubble
Assertion is always executed.