[][src]Macro assert2::check

check!() { /* proc-macro */ }

Check if an expression evaluates to true.

If it does not, an assertion failure is printend, but any remaining code in the same scope will still execute. When the scope ends, the test will panick.

Use assert! if you want the test to panic instantly.