Home
last modified time | relevance | path

Searched refs:for_each_sample (Results 1 – 13 of 13) sorted by relevance

/third_party/boost/libs/test/test/test-organization-ts/datasets-test/
Dinitializer_list-test.cpp31 data::for_each_sample( data::make( {7,11,13,17} ), check_arg_type<int>() ); in BOOST_AUTO_TEST_CASE()
35 data::for_each_sample( data::make( {7,11,13,17} ), [&c,&exp](int i) { in BOOST_AUTO_TEST_CASE()
39 data::for_each_sample( data::make( {1,2,3,4} ), expected_call_count{ 4 } ); in BOOST_AUTO_TEST_CASE()
40 data::for_each_sample( data::make( {1,2,3,4} ), expected_call_count{ 2 }, 2 ); in BOOST_AUTO_TEST_CASE()
41 data::for_each_sample( data::make( {1,2,3,4} ), expected_call_count{ 0 }, 0 ); in BOOST_AUTO_TEST_CASE()
44 …data::for_each_sample( data::make( { copy_count(), copy_count() } ), check_arg_type<copy_count>() … in BOOST_AUTO_TEST_CASE()
58 data::for_each_sample( data::make( 7,11,13,17 ), check_arg_type<int>() ); in BOOST_AUTO_TEST_CASE()
62 data::for_each_sample( data::make( 7,11,13,17 ), [&c,&exp](int i) { in BOOST_AUTO_TEST_CASE()
66 data::for_each_sample( data::make( 1,2,3,4 ), expected_call_count{ 4 } ); in BOOST_AUTO_TEST_CASE()
67 data::for_each_sample( data::make( 1,2,3,4 ), expected_call_count{ 2 }, 2 ); in BOOST_AUTO_TEST_CASE()
[all …]
Dsingleton-test.cpp29 data::for_each_sample( data::make( 2 ), check_arg_type<int>() ); in BOOST_AUTO_TEST_CASE()
30 data::for_each_sample( data::make( "ch" ), check_arg_type<char const*>() ); in BOOST_AUTO_TEST_CASE()
31 data::for_each_sample( data::make( 2. ), check_arg_type<double>() ); in BOOST_AUTO_TEST_CASE()
36 data::for_each_sample( data::make( 2 ), ic ); in BOOST_AUTO_TEST_CASE()
40 data::for_each_sample( data::make( 2 ), ic, 2 ); in BOOST_AUTO_TEST_CASE()
44 data::for_each_sample( data::make( 2 ), ic, 0 ); in BOOST_AUTO_TEST_CASE()
47 data::for_each_sample( data::make( 2 ), [] (int s) { in BOOST_AUTO_TEST_CASE()
53 data::for_each_sample( data::make( copy_count() ), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
58 data::for_each_sample( data::make( cc1 ), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
63 data::for_each_sample( data::make( cc2 ), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
[all …]
Dmono-join-test.cpp49 data::for_each_sample( samples1, ic ); in BOOST_AUTO_TEST_CASE()
53 data::for_each_sample( samples1, [&c,exp](int i) { in BOOST_AUTO_TEST_CASE()
60 data::for_each_sample( samples2, ic ); in BOOST_AUTO_TEST_CASE()
64 data::for_each_sample( samples2, [&c,exp](int i) { in BOOST_AUTO_TEST_CASE()
71 data::for_each_sample( samples3, ic ); in BOOST_AUTO_TEST_CASE()
75 data::for_each_sample( samples3, [&c,exp](int i) { in BOOST_AUTO_TEST_CASE()
80 …data::for_each_sample( data::make( copy_count() ) + data::make( copy_count() ), check_arg_type<cop… in BOOST_AUTO_TEST_CASE()
84 …data::for_each_sample( data::make( copy_count() ) + data::make( copy_count() ) + data::make( copy_… in BOOST_AUTO_TEST_CASE()
88 …data::for_each_sample( data::make( copy_count() ) + (data::make( copy_count() ) + data::make( copy… in BOOST_AUTO_TEST_CASE()
91 data::for_each_sample( (data::make( copy_count() ) + data::make( copy_count() )) + in BOOST_AUTO_TEST_CASE()
[all …]
Dmono-zip-test.cpp55 data::for_each_sample( samples1, ic ); in BOOST_AUTO_TEST_CASE()
58 data::for_each_sample( samples1, check_arg_type_like<std::tuple<int,char const*>>() ); in BOOST_AUTO_TEST_CASE()
61 data::for_each_sample( samples1, [&c,exp1,exp2](int i,char const* s) { in BOOST_AUTO_TEST_CASE()
78 data::for_each_sample( samples2, ic ); in BOOST_AUTO_TEST_CASE()
81 data::for_each_sample( samples2, check_arg_type_like<std::tuple<double,char const*,int>>() ); in BOOST_AUTO_TEST_CASE()
86 data::for_each_sample( samples2, [&c,&vec1,exp3](double a1,char const* a2,int a3) { in BOOST_AUTO_TEST_CASE()
94 …data::for_each_sample( data::make( copy_count() ) ^ data::make( copy_count() ), check_arg_type<std… in BOOST_AUTO_TEST_CASE()
98 …data::for_each_sample( data::make( copy_count() ) ^ data::make( copy_count() ) ^ data::make( copy_… in BOOST_AUTO_TEST_CASE()
103 …data::for_each_sample( data::make( copy_count() ) ^ (data::make( copy_count() ) ^ data::make( copy… in BOOST_AUTO_TEST_CASE()
111 data::for_each_sample( ds1 ^ ds1, check_arg_type<std::tuple<copy_count,copy_count>>() ); in BOOST_AUTO_TEST_CASE()
[all …]
Dimplicit-test.cpp27 data::for_each_sample( 2, check_arg_type<int>() ); in BOOST_AUTO_TEST_CASE()
29 data::for_each_sample( "ch", check_arg_type<char const*>() ); in BOOST_AUTO_TEST_CASE()
30 data::for_each_sample( 2., check_arg_type<double>() ); in BOOST_AUTO_TEST_CASE()
31 data::for_each_sample( std::vector<int>( 3 ), check_arg_type<int>() ); in BOOST_AUTO_TEST_CASE()
32 data::for_each_sample( std::list<double>( 2 ), check_arg_type<double>() ); in BOOST_AUTO_TEST_CASE()
36 data::for_each_sample( std::vector<int>( 3 ), ic ); in BOOST_AUTO_TEST_CASE()
40 data::for_each_sample( std::list<double>( 2 ), ic, 1 ); in BOOST_AUTO_TEST_CASE()
45 data::for_each_sample( samples1, check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
50 data::for_each_sample( samples2, check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
Dmono-grid-test.cpp64 data::for_each_sample( samples1, ic ); in BOOST_AUTO_TEST_CASE()
67 data::for_each_sample( samples1, check_arg_type_like<std::tuple<int,char const*>>() ); in BOOST_AUTO_TEST_CASE()
70 data::for_each_sample( samples1, [&c,exp1,exp2](int i,char const* s) { in BOOST_AUTO_TEST_CASE()
87 data::for_each_sample( samples2, ic ); in BOOST_AUTO_TEST_CASE()
90 data::for_each_sample( samples2, check_arg_type_like<std::tuple<double,char const*,int>>() ); in BOOST_AUTO_TEST_CASE()
95 data::for_each_sample( samples2, [&c,&vec1,exp3](double a1,char const* a2,int a3) { in BOOST_AUTO_TEST_CASE()
109 …data::for_each_sample( data::make( copy_count() ) * data::make( copy_count() ), check_arg_type<std… in BOOST_AUTO_TEST_CASE()
113 …data::for_each_sample( data::make( copy_count() ) * data::make( copy_count() ) * data::make( copy_… in BOOST_AUTO_TEST_CASE()
118 …data::for_each_sample( data::make( copy_count() ) * (data::make( copy_count() ) * data::make( copy… in BOOST_AUTO_TEST_CASE()
131 data::for_each_sample( ds1 * ds1, check_arg_type<std::tuple<copy_count,copy_count>>() ); in BOOST_AUTO_TEST_CASE()
[all …]
Dcollection-test.cpp64 data::for_each_sample( data::make( std::vector<int>( 3 ) ), check_arg_type<int>() ); in BOOST_AUTO_TEST_CASE()
65 data::for_each_sample( data::make( std::list<double>( 2 ) ), check_arg_type<double>() ); in BOOST_AUTO_TEST_CASE()
70 data::for_each_sample( data::make( std::vector<int>( 3 ) ), ic ); in BOOST_AUTO_TEST_CASE()
74 data::for_each_sample( data::make( std::list<double>( 2 ) ), ic, 4 ); in BOOST_AUTO_TEST_CASE()
78 data::for_each_sample( data::make( std::vector<int>( 3 ) ), ic, 1 ); in BOOST_AUTO_TEST_CASE()
92 data::for_each_sample( data::make( samples1 ), [&c,samples1](int i) { in BOOST_AUTO_TEST_CASE()
102 data::for_each_sample( data::make( samples2 ), [&it](char const* str ) { in BOOST_AUTO_TEST_CASE()
131 … data::for_each_sample( data::make( std::vector<copy_count>( 2 ) ), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
136 data::for_each_sample( data::make( samples3 ), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
141 data::for_each_sample( data::make( samples4 ), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
[all …]
Darray-test.cpp38 data::for_each_sample( data::make( arr4 ), check_arg_type<int>() ); in BOOST_AUTO_TEST_CASE()
42 data::for_each_sample( data::make( arr4 ), [&c,ptr4](int i) { in BOOST_AUTO_TEST_CASE()
46 data::for_each_sample( data::make( arr4 ), expected_call_count{ 4 } ); in BOOST_AUTO_TEST_CASE()
47 data::for_each_sample( data::make( arr4 ), expected_call_count{ 2 }, 2 ); in BOOST_AUTO_TEST_CASE()
48 data::for_each_sample( data::make( arr4 ), expected_call_count{ 0 }, 0 ); in BOOST_AUTO_TEST_CASE()
52 data::for_each_sample( data::make( arr5 ), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
57 data::for_each_sample( data::make( arr6 ), check_arg_type<copy_count>() ); in BOOST_AUTO_TEST_CASE()
Drandom-test.cpp31 BOOST_CHECK_THROW( data::for_each_sample( ds, [](double ) {}), std::logic_error ); in BOOST_AUTO_TEST_CASE()
36 data::for_each_sample( ds, ic, 10 ); in BOOST_AUTO_TEST_CASE()
41 data::for_each_sample( ds^arr, ic ); in BOOST_AUTO_TEST_CASE()
54 data::for_each_sample( ds1, [](int s) { in BOOST_AUTO_TEST_CASE()
61 data::for_each_sample( ds2, [](double s) { in BOOST_AUTO_TEST_CASE()
110 data::for_each_sample( ds4, [&vals](double s) { in BOOST_AUTO_TEST_CASE()
113 data::for_each_sample( ds5, [&vals](double s) { in BOOST_AUTO_TEST_CASE()
Dxrange-test.cpp51 data::for_each_sample( data::xrange( 3 ), [&c](int a) { in BOOST_AUTO_TEST_CASE()
56 data::for_each_sample( data::xrange( 1, 10, 2 ), [&c](int a) { in BOOST_AUTO_TEST_CASE()
72 data::for_each_sample( ds, ic ); in BOOST_AUTO_TEST_CASE()
79 data::for_each_sample( ds, [&c,exp](int a) { in BOOST_AUTO_TEST_CASE()
/third_party/boost/boost/test/data/
Dfor_each_sample.hpp80 for_each_sample( DataSet const & samples, in for_each_sample() function
101 for_each_sample( DataSet && samples, in for_each_sample() function
105 data::for_each_sample( data::make( std::forward<DataSet>(samples) ), in for_each_sample()
Dtest_case.hpp160 data::for_each_sample( m_dataset, *this ); in next()
/third_party/boost/libs/test/doc/
DJamfile.v256 $(BOOST_ROOT)/libs/test/include/boost/test/data/for_each_sample.hpp