Files
oboe/test/catch.cpp

21 lines
559 B
C++

#define CATCH_CONFIG_MAIN
#include "catch.hpp"
// After this are some globals that are referenced from common code but not defined, and not used in the test cases
#include "gfxsheets.hpp"
#include "universe.hpp"
sf::RenderWindow mainPtr;
std::string scenario_temp_dir_name = "test_scenario";
cCustomGraphics spec_scen_g;
cUniverse univ;
// And these are referenced from the scenario code, though not used in test cases
#include "scenario.hpp"
#include "undo.hpp"
location cur_out;
short cur_town;
cScenario scenario;
bool change_made;
cUndoList undo_list;