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

[SVN r33026]
This commit is contained in:
Dave Abrahams
2006-02-20 15:45:40 +00:00
parent 027f473580
commit 63867d80b5
5 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
{ MPL_ASSERT(( is_same< bool_<c>, c##_ > )); } \
{ MPL_ASSERT(( is_same< bool_<c>::type, bool_<c> > )); } \
{ MPL_ASSERT_RELATION( bool_<c>::value, ==, c ); } \
assert( bool_<c>() == c ); \
BOOST_TEST( bool_<c>() == c ); \
/**/
MPL_TEST_CASE()