| 24 | namespace bc = boost::compute; |
| 25 | |
| 26 | BOOST_AUTO_TEST_CASE(partition_point_int) |
| 27 | { |
| 28 | int dataset[] = {1, 1, 5, 2, 4, -2, 0, -1, 0, -1}; |
| 29 | bc::vector<bc::int_> vector(dataset, dataset + 10, queue); |
| 30 | |
| 31 | bc::vector<bc::int_>::iterator iter = |
| 32 | bc::partition_point(vector.begin(), vector.begin() + 10, |
| 33 | bc::_1 > 0, queue); |
| 34 | |
| 35 | BOOST_VERIFY(iter == vector.begin()+5); |
| 36 | } |
| 37 | |
| 38 | BOOST_AUTO_TEST_SUITE_END() |
nothing calls this directly
no test coverage detected