1 #include "../src/sdl/InitImage.h"
2 #include "../src/sdl/InitSDL.h"
7 #include <cppunit/extensions/TestFactoryRegistry.h>
8 #include <cppunit/ui/text/TestRunner.h>
10 using CppUnit::TestFactoryRegistry;
11 using CppUnit::TextUi::TestRunner;
14 int main(int argc, char **argv) {
18 sdl::InitImage image(IMG_INIT_PNG);
21 TestFactoryRegistry ®istry = TestFactoryRegistry::getRegistry();
22 runner.addTest(registry.makeTest());
24 } catch (std::exception &e) {
25 std::cerr << "exception in main(): " << e.what() << std::endl;