C
style assertions, both implemented as pre-processor macros. Their main benefit is the uniform prefix string.
The first assertion is always active (i.e. you can't define
it away with NDEBUG
). It's available via the tf_assert macro.
The second type may be turned on and off, and comes in five levels. The macros are tf_assert1, tf_assert2, tf_assert3, tf_assert4, tf_assert5, and are controlled by the value of the TF_ASSERT_LEVEL preprocessor macro. TF_ASSERT_LEVEL should be set to an integer; assertions with levels less than or equal to that will be made active.