]> git.localhorst.tv Git - tacos.git/blob - tst/test.cpp
ray/floor intersection experiments
[tacos.git] / tst / test.cpp
1 #include "app/config.hpp"
2 #include "app/init.hpp"
3 #include "graphics/window.hpp"
4
5 #include <cppunit/extensions/TestFactoryRegistry.h>
6 #include <cppunit/ui/text/TestRunner.h>
7
8 using CppUnit::TestFactoryRegistry;
9 using CppUnit::TextUi::TestRunner;
10
11
12 int main(int, char **) {
13         // need GL context because some tests depend it (by accident)
14         tacos::Config config;
15         tacos::Init init(config);
16         tacos::Window window(100, 100);
17
18         TestRunner runner;
19         TestFactoryRegistry &registry = TestFactoryRegistry::getRegistry();
20         runner.addTest(registry.makeTest());
21         runner.run();
22
23         return 0;
24
25 }