This module supports assertion handling
-
-
TCCAssertion_Functions | This module supports assertion handling |
Functions | |
f_assert | Implement TTCN assertion. |
external function f_assert( charstring pl_assertMessage, boolean pl_predicate )
Implement TTCN assertion.
pl_assertMessage | in charstring - assertion message |
pl_predicate | in boolean - boolean predicate |
-
-
At the point of this function call, the assertion predicate must be true, else assertion fails that results in a dynamic test case error To use assertion optimized build shall be switched on with switch -O2 and NDEBUG shall not be defined
Implement TTCN assertion.
external function f_assert( charstring pl_assertMessage, boolean pl_predicate )