1 //---------------------------------------------------------------------------// 2 // Copyright (c) 2013 Kyle Lutz <kyle.r.lutz@gmail.com> 3 // 4 // Distributed under the Boost Software License, Version 1.0 5 // See accompanying file LICENSE_1_0.txt or copy at 6 // http://www.boost.org/LICENSE_1_0.txt 7 // 8 // See http://boostorg.github.com/compute for more information. 9 //---------------------------------------------------------------------------// 10 11 #define BOOST_TEST_MODULE TestMultipleObjects 12 #include <boost/test/unit_test.hpp> 13 #include <boost/compute.hpp> 14 15 bool dummy_function(); 16 BOOST_AUTO_TEST_CASE(multiple_objects)17BOOST_AUTO_TEST_CASE(multiple_objects) 18 { 19 // It is enough if the test compiles. 20 BOOST_CHECK( dummy_function() ); 21 } 22