aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/testing/Testing.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/testing/Testing.hpp')
-rw-r--r--src/openvic-simulation/testing/Testing.hpp24
1 files changed, 4 insertions, 20 deletions
diff --git a/src/openvic-simulation/testing/Testing.hpp b/src/openvic-simulation/testing/Testing.hpp
index 35e8a96..90c32db 100644
--- a/src/openvic-simulation/testing/Testing.hpp
+++ b/src/openvic-simulation/testing/Testing.hpp
@@ -16,29 +16,13 @@ namespace OpenVic {
class Testing {
public:
- GameManager& game_manager;
- Map& map;
- BuildingManager& building_manager;
- GoodManager& good_manager;
- PopManager& pop_manager;
- GameAdvancementHook& clock;
- std::vector<TestScript*> test_scripts = std::vector<TestScript*>();
-
- //// Prototype test script
- //const BuildingType* building_type = building_manager->get_building_type_by_identifier("building_fort");
- //std::cout << "building_fort"
- // << " build time is " << building_type->get_build_time() << std::endl;
- //std::cout << "building_fort"
- // << " identifier is " << building_type->get_identifier() << std::endl;
- //std::cout << "building_fort"
- // << " max level is " << int(building_type->get_max_level()) << std::endl;
- //for (const auto& good : good_manager->get_goods())
- // std::cout << good.get_identifier() << " price = " << good.get_base_price() << std::endl;
-
- Testing(GameManager& g_manager);
+ Testing(GameManager* game_manager);
~Testing();
+ std::vector<TestScript*> test_scripts = std::vector<TestScript*>();
+
+ void execute_all_scripts();
void report_results();
};
}