#include "Teuchos_TestForException.hpp"
Go to the source code of this file.
Defines | |
#define | TEUCHOS_ASSERT(assertion_test) TEST_FOR_EXCEPT(!(assertion_test)) |
This macro is throws when an assert fails. | |
#define | TEUCHOS_ASSERT_IN_RANGE_UPPER_EXCLUSIVE(index, lower_inclusive, upper_exclusive) |
This macro asserts that an integral number fallis in the range [lower_inclusive,upper_exclusive) . | |
#define | TEUCHOS_ASSERT_EQUALITY(val1, val2) |
This macro is checks that to numbers are equal and if not then throws an exception with a good error message. | |
#define | TEUCHOS_ASSERT_INEQUALITY(val1, comp, val2) |
This macro is checks that an inequality between two numbers is satisified and if not then throws a good exception message. |