1 // (c) Copyright Juergen Hunold 2015 2 // Use, modification and distribution is subject to the Boost Software 3 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 4 // http://www.boost.org/LICENSE_1_0.txt) 5 6 #define BOOST_TEST_MODULE Qt3DRender 7 #include <Qt3DRender> 8 9 #include <boost/test/unit_test.hpp> 10 BOOST_AUTO_TEST_CASE(defines)11BOOST_AUTO_TEST_CASE (defines) 12 { 13 BOOST_CHECK_EQUAL(BOOST_IS_DEFINED(QT_3DCORE_LIB), true); 14 BOOST_CHECK_EQUAL(BOOST_IS_DEFINED(QT_3DRENDER_LIB), true); 15 } 16 BOOST_AUTO_TEST_CASE(sample_code)17BOOST_AUTO_TEST_CASE ( sample_code ) 18 { 19 Qt3DCore::QEntity rootEntity; 20 Qt3DRender::QMaterial material(&rootEntity); 21 } 22