bofc manual pages
Macro mt_assert(3) evaluates expression and if it evaluates to false, test will be marked as failed and information about assert will be printed. Information contains function_name, line where assert occured, and expression that caused test to fail. Also macro forces function it was called in to immediately return.
Proper example can be found in mtest_overview(7).
3 September 2018 (1.1.3)