Stop using assert() in tests

[SVN r33181]
This commit is contained in:
Dave Abrahams 2006-02-28 22:56:33 +00:00
parent 87ad11583c
commit fdd91dbf91

View File

@ -10,7 +10,6 @@
#include <boost/test/minimal.hpp>
#include <boost/function.hpp>
#include <functional>
#include <cassert>
#include <string>
#include <utility>
@ -653,12 +652,12 @@ static void test_implicit()
static void test_call_obj(boost::function<int (int, int)> f)
{
assert(!f.empty());
BOOST_CHECK(!f.empty());
}
static void test_call_cref(const boost::function<int (int, int)>& f)
{
assert(!f.empty());
BOOST_CHECK(!f.empty());
}
static void test_call()