1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 19:32:49 +01:00
openrw/rwengine/tests/test_VisualFX.cpp
Daniel Evans f655e454d6 Implement new VisualFX system for particles etc.
- VisualFX stores data about effects like particles and lighting
- Only particles initial implementation
- World stores active VisualFX
2015-04-03 03:04:50 +01:00

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()