Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

UTF testing tools reference

BOOST_<level>
BOOST_<level>_BITWISE_EQUAL
BOOST_<level>_EQUAL
BOOST_<level>_EQUAL_COLLECTIONS
BOOST_<level>_CLOSE
BOOST_<level>_CLOSE_FRACTION
BOOST_<level>_EXCEPTION
BOOST_<level>_GE
BOOST_<level>_GT
BOOST_<level>_LE
BOOST_<level>_LT
BOOST_<level>_MESSAGE
BOOST_<level>_NE
BOOST_<level>_NO_THROW
BOOST_<level>_PREDICATE
BOOST_<level>_SMALL
BOOST_<level>_THROW
BOOST_ERROR
BOOST_FAIL
BOOST_IS_DEFINED

Assertions

Short description

BOOST_<level>

Simple validation of a boolean predicate value.

BOOST_<level>_BITWISE_EQUAL

Bitwise equality test of two elements.

BOOST_<level>_EQUAL

Equality test of two elements.

BOOST_<level>_EQUAL_COLLECTIONS

Element-wise equality test of two collections.

BOOST_<level>_CLOSE

Floating point comparison using a percentage of deviation.

BOOST_<level>_CLOSE_FRACTION

Floating point comparison using the fraction of the compared operands.

BOOST_<level>_EXCEPTION

Exception detection and validation check.

BOOST_<level>_GE

Comparison of two values (with convenient reporting).

BOOST_<level>_GT

Comparison of two values (with convenient reporting).

BOOST_<level>_LE

Comparison of two values (with convenient reporting).

BOOST_<level>_LT

Comparison of two values (with convenient reporting).

BOOST_<level>_MESSAGE

Same as BOOST_<level> with a custom message in case of failure.

BOOST_<level>_NE

Comparison of two values (with convenient reporting).

BOOST_<level>_NO_THROW

Checks an expression does not throw any exception.

BOOST_<level>_PREDICATE

Checks a list of arguments against a predicate functor.

BOOST_<level>_SMALL

Checks a value is small according to a tolerance.

BOOST_<level>_THROW

Checks an expression throws a specific type of expression.

BOOST_ERROR

Logs an error message, fails but does not abort the current test.

BOOST_FAIL

Logs an error message, fails and aborts the current test.

BOOST_IS_DEFINED

Checks at runtime whether or not the supplied preprocessor symbol is defined.


PrevUpHomeNext