| 23 | namespace compute = boost::compute; |
| 24 | |
| 25 | BOOST_AUTO_TEST_CASE(get_vector_result_type) |
| 26 | { |
| 27 | BOOST_STATIC_ASSERT(( |
| 28 | boost::is_same< |
| 29 | boost::compute::result_of< |
| 30 | compute::get<0>(compute::float4_) |
| 31 | >::type, |
| 32 | float |
| 33 | >::value |
| 34 | )); |
| 35 | BOOST_STATIC_ASSERT(( |
| 36 | boost::is_same< |
| 37 | boost::compute::result_of< |
| 38 | compute::get<1>(compute::int2_) |
| 39 | >::type, |
| 40 | int |
| 41 | >::value |
| 42 | )); |
| 43 | } |
| 44 | |
| 45 | BOOST_AUTO_TEST_CASE(get_pair_result_type) |
| 46 | { |
nothing calls this directly
no outgoing calls
no test coverage detected