1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-10 04:42:38 +01:00
openrw/rwengine/tests/test_VisualFX.cpp
Daniel Evans 2985a70354 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-03-06 16:55:46 +00: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()