...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::unit_test::framework::get — This function template provides access to a typed test unit by id.
// In header: <boost/test/framework.hpp> template<typename UnitType> UnitType & get(test_unit_id id);
It will throw if you specify incorrect test unit type
Parameters: |
|
||
Template Parameters: |
|