Functions

assert

assert(Boolean, String): Boolean

Raises an execution error when the first argument is false. The second argument is the error message.

mustEqual

mustEqual(a, b): Boolean

Raises an execution error if the arguments arent exactly the same.

mustMatch

mustMatch(String, Regex): Boolean

Raises an execution error when the first argument (String) doesn’t match the second argument (Regex)