| 26 | #include "context_setup.hpp" |
| 27 | |
| 28 | BOOST_AUTO_TEST_CASE(value_type) |
| 29 | { |
| 30 | using boost::compute::float4_; |
| 31 | |
| 32 | BOOST_STATIC_ASSERT(( |
| 33 | boost::is_same< |
| 34 | boost::compute::permutation_iterator< |
| 35 | boost::compute::buffer_iterator<float>, |
| 36 | boost::compute::buffer_iterator<int> |
| 37 | >::value_type, |
| 38 | float |
| 39 | >::value |
| 40 | )); |
| 41 | BOOST_STATIC_ASSERT(( |
| 42 | boost::is_same< |
| 43 | boost::compute::permutation_iterator< |
| 44 | boost::compute::buffer_iterator<float4_>, |
| 45 | boost::compute::buffer_iterator<short> |
| 46 | >::value_type, |
| 47 | float4_ |
| 48 | >::value |
| 49 | )); |
| 50 | } |
| 51 | |
| 52 | BOOST_AUTO_TEST_CASE(base_type) |
| 53 | { |
nothing calls this directly
no test coverage detected