diff options
author | Hop311 <Hop3114@gmail.com> | 2024-02-19 22:09:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-19 22:09:17 +0100 |
commit | 147e0a772dc768bd90fdccdd2536f14c11238d57 (patch) | |
tree | aef9a168b1e4ce5b15797bca460abda5edf465c0 /src/openvic-simulation/testing/TestScript.hpp | |
parent | 35e5f7828a41736194362186ad4f946fad5964d1 (diff) | |
parent | 31a3521643dbf4bd218a6af10025f99ac3bf7e98 (diff) |
Merge pull request #149 from OpenVicProject/fp-rounding+texture-sprites
Fixed point rounding and Texture Sprites
Diffstat (limited to 'src/openvic-simulation/testing/TestScript.hpp')
-rw-r--r-- | src/openvic-simulation/testing/TestScript.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/openvic-simulation/testing/TestScript.hpp b/src/openvic-simulation/testing/TestScript.hpp index b41246e..fdf23a5 100644 --- a/src/openvic-simulation/testing/TestScript.hpp +++ b/src/openvic-simulation/testing/TestScript.hpp @@ -10,9 +10,11 @@ namespace OpenVic { std::vector<Requirement*> requirements = std::vector<Requirement*>(); GameManager* PROPERTY_RW(game_manager); - std::string PROPERTY_RW(script_name); + std::string PROPERTY(script_name); public: + TestScript(std::string_view new_script_name); + // expects an overriden method that performs arbitrary code execution // so that each script uniquely performs tests // for both requirement adding to script and to execute code |