| 19 | } |
| 20 | |
| 21 | BOOST_AUTO_TEST_CASE(what) |
| 22 | { |
| 23 | try { |
| 24 | throw_no_device_found(); |
| 25 | |
| 26 | BOOST_REQUIRE(false); // should not get here |
| 27 | } |
| 28 | catch(boost::compute::no_device_found& e){ |
| 29 | BOOST_CHECK_EQUAL(std::string(e.what()), "No OpenCL device found"); |
| 30 | } |
| 31 | } |
nothing calls this directly
no test coverage detected