diff options
author | Hop311 <Hop3114@gmail.com> | 2024-06-13 18:59:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-13 18:59:47 +0200 |
commit | bfd539513af435564daf70f94f6cce146dd5c948 (patch) | |
tree | 7ba5a06714c267185dd3a59aabc6556a105c122f /src/openvic-simulation/testing/Testing.cpp | |
parent | 01a8f60aaca9784d814f4cb35a3fc4be86e1dd20 (diff) | |
parent | 4b39e77304094708d5c503b6a221386408cc4409 (diff) |
Merge pull request #165 from OpenVicProject/instance-definition-managers
Separated GameManager into Definition and Instance Managers
Diffstat (limited to 'src/openvic-simulation/testing/Testing.cpp')
-rw-r--r-- | src/openvic-simulation/testing/Testing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openvic-simulation/testing/Testing.cpp b/src/openvic-simulation/testing/Testing.cpp index da9dccf..07294b2 100644 --- a/src/openvic-simulation/testing/Testing.cpp +++ b/src/openvic-simulation/testing/Testing.cpp @@ -6,7 +6,7 @@ using namespace OpenVic; -Testing::Testing(GameManager* game_manager) { +Testing::Testing(DefinitionManager const& definition_manager) { // Constructor for the tests will add requirements // Then execute the script @@ -24,7 +24,7 @@ Testing::Testing(GameManager* game_manager) { test_scripts.push_back(a_006_politics_tests); for (auto test_script : test_scripts) { - test_script->set_game_manager(game_manager); + test_script->set_definition_manager(&definition_manager); } } |