D | test_types.cpp | 21 boost::compute::int4_ i4(1, 2, 3, 4); in BOOST_AUTO_TEST_CASE() local 22 BOOST_CHECK(i4 == boost::compute::int4_(1, 2, 3, 4)); in BOOST_AUTO_TEST_CASE() 23 BOOST_CHECK_EQUAL(i4, boost::compute::int4_(1, 2, 3, 4)); in BOOST_AUTO_TEST_CASE() 24 BOOST_CHECK_EQUAL(i4[0], 1); in BOOST_AUTO_TEST_CASE() 25 BOOST_CHECK_EQUAL(i4[1], 2); in BOOST_AUTO_TEST_CASE() 26 BOOST_CHECK_EQUAL(i4[2], 3); in BOOST_AUTO_TEST_CASE() 27 BOOST_CHECK_EQUAL(i4[3], 4); in BOOST_AUTO_TEST_CASE() 29 i4 = boost::compute::int4_(1); in BOOST_AUTO_TEST_CASE() 30 BOOST_CHECK(i4 == boost::compute::int4_(1, 1, 1, 1)); in BOOST_AUTO_TEST_CASE() 31 BOOST_CHECK(i4 == (boost::compute::vector_type<int, size_t(4)>(1))); in BOOST_AUTO_TEST_CASE() [all …]
|