]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // (c) Copyright Juergen Hunold 2015 |
2 | // Use, modification and distribution is subject to the Boost Software | |
1e59de90 TL |
3 | // License, Version 1.0. (See accompanying file LICENSE.txt or copy at |
4 | // https://www.bfgroup.xyz/b2/LICENSE.txt) | |
7c673cae FG |
5 | |
6 | #define BOOST_TEST_MODULE Qt3DRender | |
7 | #include <Qt3DRender> | |
8 | ||
9 | #include <boost/test/unit_test.hpp> | |
10 | ||
11 | BOOST_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 | ||
17 | BOOST_AUTO_TEST_CASE ( sample_code ) | |
18 | { | |
19 | Qt3DCore::QEntity rootEntity; | |
20 | Qt3DRender::QMaterial material(&rootEntity); | |
21 | } |