12 lines
336 B
C++
12 lines
336 B
C++
#define CATCH_CONFIG_RUNNER
|
|
#include "Tests.hpp"
|
|
|
|
int main (int argc, char * argv[])
|
|
{
|
|
// All tests are performed while a Gui object exists.
|
|
// This will keep the global font alive instead of being destructed and reconstructed multiple times between the tests.
|
|
tgui::Gui gui;
|
|
|
|
return Catch::Session().run(argc, argv);
|
|
}
|