Boost logo

Boost :

From: Kim Barrett (kab_at_[hidden])
Date: 2005-09-23 19:30:18

Using Boost.Test from the boost 1.33 release,

The reported number of passed assertions for each test case is one greater
than the actual number of assertions performed by the test case. For
example, the most trivial of auto-unit-test programs, attached below,
reports 1 assertion out of 1 passed. I see no test assertions here.


#include <boost/test/unit_test.hpp>
#include <boost/test/auto_unit_test.hpp>

BOOST_AUTO_UNIT_TEST(test_no_assertions) {

Boost list run by bdawes at, gregod at, cpdaniel at, john at