Jump to content

Assertions: Difference between revisions

→‎{{header|MATLAB}}: works also with Octave
(→‎{{header|AutoHotkey}}: updated with real exceptions)
(→‎{{header|MATLAB}}: works also with Octave)
Line 388:
<lang Mathematica>Assert[var===42]</lang>
 
=={{header|MATLAB}} / {{header|Octave}} ==
 
<lang MATLAB>assert(x == 42,'x = %d, not 42.',x);</lang>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.