diff --git a/addressof_test.cpp b/addressof_test.cpp index 60f2e23..2630f27 100644 --- a/addressof_test.cpp +++ b/addressof_test.cpp @@ -26,16 +26,16 @@ int test_main(int, char*[]) nonaddressable* px = new nonaddressable(); nonaddressable& x = *px; - BOOST_TEST(boost::addressof(x) == px); + BOOST_CHECK(boost::addressof(x) == px); const nonaddressable& cx = *px; - BOOST_TEST(boost::addressof(cx) == static_cast(px)); + BOOST_CHECK(boost::addressof(cx) == static_cast(px)); volatile nonaddressable& vx = *px; - BOOST_TEST(boost::addressof(vx) == static_cast(px)); + BOOST_CHECK(boost::addressof(vx) == static_cast(px)); const volatile nonaddressable& cvx = *px; - BOOST_TEST(boost::addressof(cvx) == static_cast(px)); + BOOST_CHECK(boost::addressof(cvx) == static_cast(px)); return 0; } diff --git a/ref_test.cpp b/ref_test.cpp index ef4775f..63fc9e5 100644 --- a/ref_test.cpp +++ b/ref_test.cpp @@ -60,11 +60,11 @@ struct ref_wrapper static void test(T x) { - BOOST_TEST(passthru(ref(x)) == &x); - BOOST_TEST(&ref(x).get() == &x); + BOOST_CHECK(passthru(ref(x)) == &x); + BOOST_CHECK(&ref(x).get() == &x); - BOOST_TEST(cref_passthru(cref(x)) == &x); - BOOST_TEST(&cref(x).get() == &x); + BOOST_CHECK(cref_passthru(cref(x)) == &x); + BOOST_CHECK(&cref(x).get() == &x); } };