aboutsummaryrefslogtreecommitdiff
path: root/src/headless/main.cpp
diff options
context:
space:
mode:
author CptAlanSmith <123112708+CptAlanSmith@users.noreply.github.com>2023-09-23 20:25:15 +0200
committer GitHub <noreply@github.com>2023-09-23 20:25:15 +0200
commit005a8026bb424779a146e00cc48621ff1d72b807 (patch)
treedde15211e31d861b61711bf6aebdeb8713393d53 /src/headless/main.cpp
parentebea2e473eefa3945508b0bf622a472b62d70d3b (diff)
Testing (#23)
* Fixes for building scons * Initial proof of concept auto-testing Shows how we can pull loaded data and display it back * Re-did headless Because hubert insisted it be done like this ;) * Auto-Testing Framework Basics * Requirements Calculations * Fix for messy merge (teach me to use merge tools) * Fixing up misc merge issues to fully reconcile with master changes * Re-added missing getters * Move of testing files due to folder reorgs * Use new accessors + int reading fix --------- Co-authored-by: Hop311 <hop3114@gmail.com>
Diffstat (limited to 'src/headless/main.cpp')
-rw-r--r--src/headless/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/headless/main.cpp b/src/headless/main.cpp
index dfaf654..011c465 100644
--- a/src/headless/main.cpp
+++ b/src/headless/main.cpp
@@ -1,6 +1,7 @@
#include <openvic-simulation/GameManager.hpp>
#include <openvic-simulation/dataloader/Dataloader.hpp>
#include <openvic-simulation/utility/Logger.hpp>
+#include <openvic-simulation/testing/Testing.hpp>
using namespace OpenVic;
@@ -51,6 +52,9 @@ static bool headless_load(Dataloader::path_vector_t const& roots) {
ret = false;
}
+ Testing testing { game_manager };
+ std::cout << "\nTesting loaded\n" << std::endl;
+
return ret;
}