]> git.localhorst.tv Git - blank.git/blob - tst/test.cpp
fixed light propagation after obstacle removal
[blank.git] / tst / test.cpp
1 #include "app/init.hpp"
2
3 #include <cppunit/extensions/TestFactoryRegistry.h>
4 #include <cppunit/ui/text/TestRunner.h>
5
6 using CppUnit::TestFactoryRegistry;
7 using CppUnit::TextUi::TestRunner;
8
9
10 int main(int, char **) {
11         blank::InitSDL sdl;
12         blank::InitGL gl;
13         blank::Window win;
14         blank::GLContext ctx(win.CreateContext());
15         blank::InitGLEW glew;
16
17         TestRunner runner;
18         TestFactoryRegistry &registry = TestFactoryRegistry::getRegistry();
19         runner.addTest(registry.makeTest());
20         runner.run();
21
22         return 0;
23
24 }