
24 Sep
2005
24 Sep
'05
12:30 a.m.
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. ---------- #define BOOST_AUTO_TEST_MAIN #include <boost/test/unit_test.hpp> #include <boost/test/auto_unit_test.hpp> BOOST_AUTO_UNIT_TEST(test_no_assertions) { }