mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-10 04:42:38 +01:00
2985a70354
- VisualFX stores data about effects like particles and lighting - Only particles initial implementation - World stores active VisualFX
16 lines
290 B
C++
16 lines
290 B
C++
#include <boost/test/unit_test.hpp>
|
|
#include <test_globals.hpp>
|
|
#include <render/VisualFX.hpp>
|
|
|
|
BOOST_AUTO_TEST_SUITE(VisualFXTests)
|
|
|
|
BOOST_AUTO_TEST_CASE(test_light_data)
|
|
{
|
|
VisualFX fx(VisualFX::Light);
|
|
|
|
BOOST_CHECK_EQUAL(fx.getType(), VisualFX::Light);
|
|
}
|
|
|
|
BOOST_AUTO_TEST_SUITE_END()
|
|
|