/third_party/boost/libs/mpl/test/ |
D | bitwise.cpp | 27 MPL_ASSERT_RELATION( (bitand_<_0,_0>::value), ==, 0 ); in MPL_TEST_CASE() 28 MPL_ASSERT_RELATION( (bitand_<_1,_0>::value), ==, 0 ); in MPL_TEST_CASE() 29 MPL_ASSERT_RELATION( (bitand_<_0,_1>::value), ==, 0 ); in MPL_TEST_CASE() 30 MPL_ASSERT_RELATION( (bitand_<_0,_ffffffff>::value), ==, 0 ); in MPL_TEST_CASE() 31 MPL_ASSERT_RELATION( (bitand_<_1,_ffffffff>::value), ==, 1 ); in MPL_TEST_CASE() 32 MPL_ASSERT_RELATION( (bitand_<_8,_ffffffff>::value), ==, 8 ); in MPL_TEST_CASE() 37 MPL_ASSERT_RELATION( (bitor_<_0,_0>::value), ==, 0 ); in MPL_TEST_CASE() 38 MPL_ASSERT_RELATION( (bitor_<_1,_0>::value), ==, 1 ); in MPL_TEST_CASE() 39 MPL_ASSERT_RELATION( (bitor_<_0,_1>::value), ==, 1 ); in MPL_TEST_CASE() 40 …MPL_ASSERT_RELATION( static_cast<long>(bitor_<_0,_ffffffff>::value), ==, static_cast<long>(0xfffff… in MPL_TEST_CASE() [all …]
|
D | arithmetic.cpp | 25 MPL_ASSERT_RELATION( (plus<_0,_10>::value), ==, 10 ); in MPL_TEST_CASE() 26 MPL_ASSERT_RELATION( (plus<_10,_0>::value), ==, 10 ); in MPL_TEST_CASE() 28 MPL_ASSERT_RELATION( (minus<_0,_10>::value), ==, -10 ); in MPL_TEST_CASE() 29 MPL_ASSERT_RELATION( (minus<_10,_0>::value), ==, 10 ); in MPL_TEST_CASE() 31 MPL_ASSERT_RELATION( (times<_1,_10>::value), ==, 10 ); in MPL_TEST_CASE() 32 MPL_ASSERT_RELATION( (times<_10,_1>::value), ==, 10 ); in MPL_TEST_CASE() 33 MPL_ASSERT_RELATION( (multiplies<_1,_10>::value), ==, 10 ); in MPL_TEST_CASE() 34 MPL_ASSERT_RELATION( (multiplies<_10,_1>::value), ==, 10 ); in MPL_TEST_CASE() 36 MPL_ASSERT_RELATION( (divides<_10,_1>::value), ==, 10 ); in MPL_TEST_CASE() 37 MPL_ASSERT_RELATION( (divides<_10,_1>::value), ==, 10 ); in MPL_TEST_CASE() [all …]
|
D | numeric_ops.cpp | 96 MPL_ASSERT_RELATION( real<r1>::value, ==, 0 ); in MPL_TEST_CASE() 97 MPL_ASSERT_RELATION( imag<r1>::value, ==, 0 ); in MPL_TEST_CASE() 100 MPL_ASSERT_RELATION( real<r2>::value, ==, 10 ); in MPL_TEST_CASE() 101 MPL_ASSERT_RELATION( imag<r2>::value, ==, -2 ); in MPL_TEST_CASE() 104 MPL_ASSERT_RELATION( real<r3>::value, ==, -10 ); in MPL_TEST_CASE() 105 MPL_ASSERT_RELATION( imag<r3>::value, ==, 2 ); in MPL_TEST_CASE() 109 MPL_ASSERT_RELATION( real<r4>::value, ==, 7 ); in MPL_TEST_CASE() 110 MPL_ASSERT_RELATION( imag<r4>::value, ==, -1 ); in MPL_TEST_CASE() 113 MPL_ASSERT_RELATION( real<r5>::value, ==, -3 ); in MPL_TEST_CASE() 114 MPL_ASSERT_RELATION( imag<r5>::value, ==, 1 ); in MPL_TEST_CASE() [all …]
|
D | set_c.cpp | 46 MPL_ASSERT_RELATION( size<s1>::value, ==, 1 ); in MPL_TEST_CASE() 47 MPL_ASSERT_RELATION( size<s2>::value, ==, 1 ); in MPL_TEST_CASE() 48 MPL_ASSERT_RELATION( size<s3>::value, ==, 2 ); in MPL_TEST_CASE() 55 MPL_ASSERT_RELATION( ( test::at_c<s1,true>::value ), ==, true ); in MPL_TEST_CASE() 56 MPL_ASSERT_RELATION( ( test::at_c<s2,false>::value ), ==, false ); in MPL_TEST_CASE() 57 MPL_ASSERT_RELATION( ( test::at_c<s3,true>::value ), ==, true ); in MPL_TEST_CASE() 58 MPL_ASSERT_RELATION( ( test::at_c<s3,false>::value ), ==, false ); in MPL_TEST_CASE() 66 MPL_ASSERT_RELATION( (distance<first1, last1>::value), ==, 1 ); in MPL_TEST_CASE() 70 MPL_ASSERT_RELATION( (distance<first2, last2>::value), ==, 1 ); in MPL_TEST_CASE() 74 MPL_ASSERT_RELATION( (distance<first3, last3>::value), ==, 2 ); in MPL_TEST_CASE() [all …]
|
D | list_c.cpp | 31 MPL_ASSERT_RELATION( front<l1>::type::value, ==, true ); in MPL_TEST_CASE() 32 MPL_ASSERT_RELATION( front<l2>::type::value, ==, false ); in MPL_TEST_CASE() 46 MPL_ASSERT_RELATION( size<l1>::value, ==, 1 ); in MPL_TEST_CASE() 47 MPL_ASSERT_RELATION( size<l2>::value, ==, 2 ); in MPL_TEST_CASE() 48 MPL_ASSERT_RELATION( size<l3>::value, ==, 3 ); in MPL_TEST_CASE() 49 MPL_ASSERT_RELATION( front<l1>::type::value, ==, -1 ); in MPL_TEST_CASE() 50 MPL_ASSERT_RELATION( front<l2>::type::value, ==, 0 ); in MPL_TEST_CASE() 51 MPL_ASSERT_RELATION( front<l3>::type::value, ==, 1 ); in MPL_TEST_CASE() 62 MPL_ASSERT_RELATION( size<l1>::value, ==, 1 ); in MPL_TEST_CASE() 63 MPL_ASSERT_RELATION( size<l2>::value, ==, 2 ); in MPL_TEST_CASE() [all …]
|
D | vector_c.cpp | 29 MPL_ASSERT_RELATION( front<v1>::type::value, ==, true ); in MPL_TEST_CASE() 30 MPL_ASSERT_RELATION( front<v2>::type::value, ==, false ); in MPL_TEST_CASE() 44 MPL_ASSERT_RELATION( size<v1>::value, ==, 1 ); in MPL_TEST_CASE() 45 MPL_ASSERT_RELATION( size<v2>::value, ==, 2 ); in MPL_TEST_CASE() 46 MPL_ASSERT_RELATION( size<v3>::value, ==, 3 ); in MPL_TEST_CASE() 48 MPL_ASSERT_RELATION( front<v1>::type::value, ==, -1 ); in MPL_TEST_CASE() 49 MPL_ASSERT_RELATION( front<v2>::type::value, ==, 0 ); in MPL_TEST_CASE() 50 MPL_ASSERT_RELATION( front<v3>::type::value, ==, 1 ); in MPL_TEST_CASE() 61 MPL_ASSERT_RELATION( size<v1>::type::value, ==, 1 ); in MPL_TEST_CASE() 62 MPL_ASSERT_RELATION( size<v2>::type::value, ==, 2 ); in MPL_TEST_CASE() [all …]
|
D | count.cpp | 25 MPL_ASSERT_RELATION( (count<types,int>::value), ==, 1 ); in MPL_TEST_CASE() 26 MPL_ASSERT_RELATION( (count<types,double>::value), ==, 1 ); in MPL_TEST_CASE() 27 MPL_ASSERT_RELATION( (count<types,char>::value), ==, 2 ); in MPL_TEST_CASE() 28 MPL_ASSERT_RELATION( (count<types,long>::value), ==, 3 ); in MPL_TEST_CASE() 29 MPL_ASSERT_RELATION( (count<types,unsigned>::value), ==, 0 ); in MPL_TEST_CASE() 36 MPL_ASSERT_RELATION( (count< values, integral_c<int,1> >::value), ==, 2 ); in MPL_TEST_CASE() 37 MPL_ASSERT_RELATION( (count< values, integral_c<int,0> >::value), ==, 2 ); in MPL_TEST_CASE() 38 MPL_ASSERT_RELATION( (count< values, integral_c<int,5> >::value), ==, 3 ); in MPL_TEST_CASE() 39 MPL_ASSERT_RELATION( (count< values, integral_c<int,7> >::value), ==, 1 ); in MPL_TEST_CASE() 40 MPL_ASSERT_RELATION( (count< values, integral_c<int,8> >::value), ==, 0 ); in MPL_TEST_CASE()
|
D | range_c.cpp | 29 MPL_ASSERT_RELATION( size<range0>::value, ==, 0 ); in MPL_TEST_CASE() 30 MPL_ASSERT_RELATION( size<range1>::value, ==, 1 ); in MPL_TEST_CASE() 31 MPL_ASSERT_RELATION( size<range10>::value, ==, 10 ); in MPL_TEST_CASE() 41 MPL_ASSERT_RELATION( front<range1>::type::value, ==, 0 ); in MPL_TEST_CASE() 42 MPL_ASSERT_RELATION( back<range1>::type::value, ==, 0 ); in MPL_TEST_CASE() 43 MPL_ASSERT_RELATION( front<range10>::type::value, ==, 0 ); in MPL_TEST_CASE() 44 MPL_ASSERT_RELATION( back<range10>::type::value, ==, 9 ); in MPL_TEST_CASE() 56 MPL_ASSERT_RELATION( ( mpl::distance<first,last>::value ), ==, 10 ); in MPL_TEST_CASE() 59 MPL_ASSERT_RELATION( deref<iter>::type::value, ==, 5 ); in MPL_TEST_CASE()
|
D | multiset.cpp | 61 MPL_ASSERT_RELATION( ( count<BOOST_DEDUCED_TYPENAME T::s0,int>::value ), ==, 0 ); in count_test() 62 MPL_ASSERT_RELATION( ( count<BOOST_DEDUCED_TYPENAME T::s1,int>::value ), ==, 1 ); in count_test() 63 MPL_ASSERT_RELATION( ( count<BOOST_DEDUCED_TYPENAME T::s2,int>::value ), ==, 1 ); in count_test() 64 MPL_ASSERT_RELATION( ( count<BOOST_DEDUCED_TYPENAME T::s2,char&>::value ), ==, 1 ); in count_test() 65 MPL_ASSERT_RELATION( ( count<BOOST_DEDUCED_TYPENAME T::s3,int>::value ), ==, 2 ); in count_test() 66 MPL_ASSERT_RELATION( ( count<BOOST_DEDUCED_TYPENAME T::s3,char&>::value ), ==, 1 ); in count_test() 67 MPL_ASSERT_RELATION( ( count<BOOST_DEDUCED_TYPENAME T::s4,abstract>::value ), ==, 1 ); in count_test()
|
D | count_if.cpp | 29 MPL_ASSERT_RELATION( (count_if< types, boost::is_float<_> >::value), ==, 1 ); in MPL_TEST_CASE() 30 MPL_ASSERT_RELATION( (count_if< types, boost::is_same<_,char&> >::value), ==, 2 ); in MPL_TEST_CASE() 31 MPL_ASSERT_RELATION( (count_if< types, boost::is_same<_,void*> >::value), ==, 0 ); in MPL_TEST_CASE() 33 MPL_ASSERT_RELATION( (count_if< values, less<_,int_<5> > >::value), ==, 4 ); in MPL_TEST_CASE() 34 MPL_ASSERT_RELATION( (count_if< values, equal_to<int_<0>,_> >::value), ==, 2 ); in MPL_TEST_CASE() 35 MPL_ASSERT_RELATION( (count_if< values, equal_to<int_<-1>,_> >::value), ==, 0 ); in MPL_TEST_CASE()
|
D | deque.cpp | 34 MPL_ASSERT_RELATION( size<d0>::value, ==, 0 ); in MPL_TEST_CASE() 35 MPL_ASSERT_RELATION( size<d1>::value, ==, 1 ); in MPL_TEST_CASE() 36 MPL_ASSERT_RELATION( size<d2>::value, ==, 2 ); in MPL_TEST_CASE() 37 MPL_ASSERT_RELATION( size<d9>::value, ==, 9 ); in MPL_TEST_CASE() 88 MPL_ASSERT_RELATION( size<d0>::value, ==, 0 ); in MPL_TEST_CASE() 89 MPL_ASSERT_RELATION( size<d1>::value, ==, 1 ); in MPL_TEST_CASE() 90 MPL_ASSERT_RELATION( size<d2>::value, ==, 2 ); in MPL_TEST_CASE() 91 MPL_ASSERT_RELATION( size<d9>::value, ==, 9 ); in MPL_TEST_CASE()
|
D | map.cpp | 41 MPL_ASSERT_RELATION( size<m>::type::value, ==, 1 ); in MPL_TEST_CASE() 65 MPL_ASSERT_RELATION( size<m2>::type::value, ==, 2 ); in MPL_TEST_CASE() 94 MPL_ASSERT_RELATION( size<m3>::type::value, ==, 3 ); in MPL_TEST_CASE() 102 MPL_ASSERT_RELATION( size<m1>::type::value, ==, 2 ); in MPL_TEST_CASE() 115 MPL_ASSERT_RELATION( size<m_1>::type::value, ==, 1 ); in MPL_TEST_CASE() 120 MPL_ASSERT_RELATION( size<m2_1>::type::value, ==, 2 ); in MPL_TEST_CASE() 130 MPL_ASSERT_RELATION( size<m>::type::value, ==, 0 ); in MPL_TEST_CASE() 155 MPL_ASSERT_RELATION( size<m1>::type::value, ==, 1 ); in MPL_TEST_CASE() 159 MPL_ASSERT_RELATION( size<m0_1>::type::value, ==, 0 ); in MPL_TEST_CASE() 167 MPL_ASSERT_RELATION( size<M>::value, ==, 3 ); in test() [all …]
|
D | vector.cpp | 41 MPL_ASSERT_RELATION( size<v0>::value, ==, 0 ); in MPL_TEST_CASE() 42 MPL_ASSERT_RELATION( size<v1>::value, ==, 1 ); in MPL_TEST_CASE() 43 MPL_ASSERT_RELATION( size<v2>::value, ==, 2 ); in MPL_TEST_CASE() 44 MPL_ASSERT_RELATION( size<v9>::value, ==, 9 ); in MPL_TEST_CASE() 120 MPL_ASSERT_RELATION( size<v0>::value, ==, 0 ); in MPL_TEST_CASE() 121 MPL_ASSERT_RELATION( size<v1>::value, ==, 1 ); in MPL_TEST_CASE() 122 MPL_ASSERT_RELATION( size<v2>::value, ==, 2 ); in MPL_TEST_CASE() 123 MPL_ASSERT_RELATION( size<v9>::value, ==, 9 ); in MPL_TEST_CASE()
|
D | always.cpp | 43 MPL_ASSERT_RELATION( res::value, ==, 10 ); in MPL_TEST_CASE() 44 MPL_ASSERT_RELATION( res0::value, ==, 10 ); in MPL_TEST_CASE() 45 MPL_ASSERT_RELATION( res1::value, ==, 10 ); in MPL_TEST_CASE() 46 MPL_ASSERT_RELATION( res2::value, ==, 10 ); in MPL_TEST_CASE() 47 MPL_ASSERT_RELATION( res3::value, ==, 10 ); in MPL_TEST_CASE()
|
D | sizeof.cpp | 24 MPL_ASSERT_RELATION( sizeof_<char>::value, ==, sizeof(char) ); in MPL_TEST_CASE() 25 MPL_ASSERT_RELATION( sizeof_<int>::value, ==, sizeof(int) ); in MPL_TEST_CASE() 26 MPL_ASSERT_RELATION( sizeof_<double>::value, ==, sizeof(double) ); in MPL_TEST_CASE() 27 MPL_ASSERT_RELATION( sizeof_<my>::value, ==, sizeof(my) ); in MPL_TEST_CASE()
|
D | set.cpp | 40 MPL_ASSERT_RELATION( size<s>::value, ==, 0 ); in empty_set_test() 63 MPL_ASSERT_RELATION( (distance<first, last>::value), ==, 0 ); in empty_set_test() 70 MPL_ASSERT_RELATION( size<s>::value, ==, 1 ); in int_set_test() 95 MPL_ASSERT_RELATION( (distance<first, last>::value), ==, 1 ); in int_set_test() 103 MPL_ASSERT_RELATION( size<s>::value, ==, 2 ); in int_char_set_test() 123 MPL_ASSERT_RELATION( (distance<first, last>::value), ==, 2 ); in int_char_set_test() 132 MPL_ASSERT_RELATION( size<s>::value, ==, 3 ); in int_char_long_set_test() 155 MPL_ASSERT_RELATION( (distance<first, last>::value), ==, 3 ); in int_char_long_set_test() 277 MPL_ASSERT_RELATION( size<s>::value, ==, 8 ); in set_types_variety_test() 317 MPL_ASSERT_RELATION( size<S>::value, ==, 3 ); in find_test() [all …]
|
D | apply.cpp | 49 MPL_ASSERT_RELATION( res::value, ==, 5 ); in MPL_TEST_CASE() 58 MPL_ASSERT_RELATION( res::value, ==, 5 ); in MPL_TEST_CASE() 97 MPL_ASSERT_RELATION( res::value, ==, 5 ); in MPL_TEST_CASE() 112 MPL_ASSERT_RELATION( res::value, ==, 10 ); in MPL_TEST_CASE() 119 MPL_ASSERT_RELATION( res::value, ==, 10 ); in MPL_TEST_CASE() 127 MPL_ASSERT_RELATION( res::value, ==, 5 ); in MPL_TEST_CASE()
|
D | single_view.cpp | 36 MPL_ASSERT_RELATION( (mpl::distance<first,first>::value), ==, 0 ); in MPL_TEST_CASE() 37 MPL_ASSERT_RELATION( (mpl::distance<first,last>::value), ==, 1 ); in MPL_TEST_CASE() 38 MPL_ASSERT_RELATION( (mpl::distance<last,last>::value), ==, 0 ); in MPL_TEST_CASE() 40 MPL_ASSERT_RELATION( size<view>::value, ==, 1 ); in MPL_TEST_CASE()
|
D | list.cpp | 31 MPL_ASSERT_RELATION(size<l0>::value, ==, 0); in MPL_TEST_CASE() 32 MPL_ASSERT_RELATION(size<l1>::value, ==, 1); in MPL_TEST_CASE() 33 MPL_ASSERT_RELATION(size<l2>::value, ==, 2); in MPL_TEST_CASE() 34 MPL_ASSERT_RELATION(size<l9>::value, ==, 9); in MPL_TEST_CASE()
|
D | index_of.cpp | 29 MPL_ASSERT_RELATION( index_of_int::value, ==, 0 ); in MPL_TEST_CASE() 30 MPL_ASSERT_RELATION( index_of_double::value, ==, 1 ); in MPL_TEST_CASE() 31 MPL_ASSERT_RELATION( index_of_float::value, ==, 2 ); in MPL_TEST_CASE()
|
D | pop_front.cpp | 30 MPL_ASSERT_RELATION( size<result1>::value, ==, 0 ); in MPL_TEST_CASE() 31 MPL_ASSERT_RELATION( size<result2>::value, ==, 1 ); in MPL_TEST_CASE() 32 MPL_ASSERT_RELATION( size<result3>::value, ==, 2 ); in MPL_TEST_CASE()
|
D | find.cpp | 31 MPL_ASSERT_RELATION( deref<values_iter>::type::value, ==, 7 ); in MPL_TEST_CASE() 35 MPL_ASSERT_RELATION( (mpl::distance< types_first,types_iter >::value), ==, 3 ); in MPL_TEST_CASE() 36 MPL_ASSERT_RELATION( (mpl::distance< values_first,values_iter >::value), ==, 4 ); in MPL_TEST_CASE()
|
D | push_front.cpp | 36 MPL_ASSERT_RELATION( size<res1>::value, ==, 1 ); in MPL_TEST_CASE() 37 MPL_ASSERT_RELATION( size<res2>::value, ==, 2 ); in MPL_TEST_CASE() 38 MPL_ASSERT_RELATION( size<res3>::value, ==, 3 ); in MPL_TEST_CASE()
|
D | find_if.cpp | 31 MPL_ASSERT_RELATION( (mpl::distance<first_,iter>::value), ==, 6 ); in MPL_TEST_CASE() 38 MPL_ASSERT_RELATION( (mpl::distance<first_,iter>::value), ==, 2 ); in MPL_TEST_CASE() 45 MPL_ASSERT_RELATION( (mpl::distance<first_,iter>::value), ==, size<types>::value ); in MPL_TEST_CASE()
|
/third_party/boost/libs/mpl/test/aux_/ |
D | template_arity.cpp | 25 MPL_ASSERT_RELATION( (aux::template_arity<my>::value), ==, -1 ); in MPL_TEST_CASE() 26 MPL_ASSERT_RELATION( (aux::template_arity< my1<int> >::value), ==, 1 ); in MPL_TEST_CASE() 27 MPL_ASSERT_RELATION( (aux::template_arity< my2<int,long> >::value), ==, 2 ); in MPL_TEST_CASE() 28 MPL_ASSERT_RELATION( (aux::template_arity< my2<int> >::value), ==, 2 ); in MPL_TEST_CASE()
|