forked from boostorg/mpl
Updated tests and jamfiles to reflect the changed testing headers location.
This commit is contained in:
+8
-8
@@ -29,10 +29,10 @@
|
||||
#include <boost/mpl/empty.hpp>
|
||||
#include <boost/mpl/begin_end.hpp>
|
||||
|
||||
#include <boost/mpl/aux_/test.hpp>
|
||||
|
||||
#include <boost/type_traits/is_same.hpp>
|
||||
|
||||
#include "test.hpp"
|
||||
|
||||
// Use templates for testing so that GCC will show us the actual types involved
|
||||
|
||||
template< typename s >
|
||||
@@ -40,7 +40,7 @@ void empty_set_test()
|
||||
{
|
||||
MPL_ASSERT_RELATION( size<s>::value, ==, 0 );
|
||||
MPL_ASSERT(( empty<s> ));
|
||||
|
||||
|
||||
MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME clear<s>::type, set0<> > ));
|
||||
MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME at<s,int>::type, void_ > ));
|
||||
MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME at<s,char>::type, void_ > ));
|
||||
@@ -56,7 +56,7 @@ void empty_set_test()
|
||||
MPL_ASSERT(( is_same< o1, void_ > ));
|
||||
MPL_ASSERT(( is_same< o2, void_ > ));
|
||||
MPL_ASSERT(( is_same< o3, void_ > ));
|
||||
|
||||
|
||||
typedef BOOST_DEDUCED_TYPENAME begin<s>::type first;
|
||||
typedef BOOST_DEDUCED_TYPENAME end<s>::type last;
|
||||
|
||||
@@ -70,7 +70,7 @@ void int_set_test()
|
||||
{
|
||||
MPL_ASSERT_RELATION( size<s>::value, ==, 1 );
|
||||
MPL_ASSERT_NOT(( empty<s> ));
|
||||
|
||||
|
||||
MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME clear<s>::type, set0<> > ));
|
||||
MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME at<s,int>::type, int > ));
|
||||
MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME at<s,char>::type, void_ > ));
|
||||
@@ -86,7 +86,7 @@ void int_set_test()
|
||||
MPL_ASSERT_NOT(( is_same< o1, void_ > ));
|
||||
MPL_ASSERT(( is_same< o2, void_ > ));
|
||||
MPL_ASSERT(( is_same< o3, void_ > ));
|
||||
|
||||
|
||||
typedef BOOST_DEDUCED_TYPENAME begin<s>::type first;
|
||||
typedef BOOST_DEDUCED_TYPENAME end<s>::type last;
|
||||
|
||||
@@ -186,7 +186,7 @@ void basic_set_test()
|
||||
int_set_test< BOOST_DEDUCED_TYPENAME erase_key<
|
||||
BOOST_DEDUCED_TYPENAME erase_key<S3,char>::type
|
||||
, long
|
||||
>::type >();
|
||||
>::type >();
|
||||
|
||||
int_char_set_test<S2>();
|
||||
int_char_set_test< BOOST_DEDUCED_TYPENAME insert<
|
||||
@@ -206,7 +206,7 @@ void basic_set_test()
|
||||
, int
|
||||
>::type >();
|
||||
|
||||
int_char_long_set_test< BOOST_DEDUCED_TYPENAME insert<
|
||||
int_char_long_set_test< BOOST_DEDUCED_TYPENAME insert<
|
||||
BOOST_DEDUCED_TYPENAME insert<S1,long>::type
|
||||
, char
|
||||
>::type >();
|
||||
|
||||
Reference in New Issue
Block a user