Assertions: Difference between revisions

no edit summary
(Add BaCon (one way of doing assertions))
No edit summary
Line 1,458:
Exception thrown: AssertionError(I wanted 42!)
</pre>
 
=={{header|zonnon}}==
<lang zonnon>
module Assertions;
var
a: integer;
begin
a := 40;
assert(a = 42,100)
end Assertions.
</lang>
Anonymous user