Stop using assert() in tests so we can test with NDEBUG defined.

[SVN r33026]
This commit is contained in:
Dave Abrahams committed 2006-02-20 15:45:40 +00:00
1 parent 027f473580
commit 63867d80b5
5 files changed
+22 -22

No files matched your search

+3 -3
View File
@@ -19,12 +19,12 @@
#if !BOOST_WORKAROUND(__BORLANDC__, < 0x600)
# define INTEGRAL_WRAPPER_RUNTIME_TEST(i, T) \
assert(( WRAPPER(T,i)() == i )); \
assert(( WRAPPER(T,i)::value == i )); \
BOOST_TEST(( WRAPPER(T,i)() == i )); \
BOOST_TEST(( WRAPPER(T,i)::value == i )); \
/**/
#else
# define INTEGRAL_WRAPPER_RUNTIME_TEST(i, T) \
assert(( WRAPPER(T,i)::value == i )); \
BOOST_TEST(( WRAPPER(T,i)::value == i )); \
/**/
#endif