Define assert_msg

Define Documentation

assert_msg(msg, expr)

same as assert, but you can include a message

Parameters
  • msg: the message you want to include when the assertion fails

  • expr: the expression to be asserted