qt3drender.cpp 606 B

123456789101112131415161718192021
  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.txt or copy at
  4. // https://www.bfgroup.xyz/b2/LICENSE.txt)
  5. #define BOOST_TEST_MODULE Qt3DRender
  6. #include <Qt3DRender>
  7. #include <boost/test/unit_test.hpp>
  8. BOOST_AUTO_TEST_CASE (defines)
  9. {
  10. BOOST_CHECK_EQUAL(BOOST_IS_DEFINED(QT_3DCORE_LIB), true);
  11. BOOST_CHECK_EQUAL(BOOST_IS_DEFINED(QT_3DRENDER_LIB), true);
  12. }
  13. BOOST_AUTO_TEST_CASE ( sample_code )
  14. {
  15. Qt3DCore::QEntity rootEntity;
  16. Qt3DRender::QMaterial material(&rootEntity);
  17. }