diff --git a/test/blank_test.cpp b/test/blank_test.cpp index c1cf033..721aa58 100644 --- a/test/blank_test.cpp +++ b/test/blank_test.cpp @@ -5,28 +5,33 @@ #include #include -#include - +#include +#include +#include +#include #if !defined(BOOST_NO_IOSTREAM) #include #endif -int main() { +int main() +{ BOOST_STATIC_ASSERT((boost::is_pod::value)); BOOST_STATIC_ASSERT((boost::is_empty::value)); BOOST_STATIC_ASSERT((boost::is_stateless::value)); boost::blank b1,b2; - assert(b1 == b2); - assert(b1 <= b2); - assert(b1 >= b2); - assert(!(b1 != b2)); - assert(!(b1 < b2)); - assert(!(b1 > b2)); + BOOST_TEST(b1 == b2); + BOOST_TEST(b1 <= b2); + BOOST_TEST(b1 >= b2); + BOOST_TEST(!(b1 != b2)); + BOOST_TEST(!(b1 < b2)); + BOOST_TEST(!(b1 > b2)); #if !defined(BOOST_NO_IOSTREAM) std::stringstream s; s << "(" << b1 << ")"; - assert(s.str() == "()"); + BOOST_TEST(s.str() == "()"); #endif + + return boost::report_errors(); }