From e5a7ddfa0aeb8f62e2b53f111122c1c51c03dabc Mon Sep 17 00:00:00 2001 From: hop311 Date: Mon, 19 Feb 2024 20:36:19 +0000 Subject: Fixed point rounding functions and sources cleanup --- src/openvic-simulation/testing/TestScript.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/openvic-simulation/testing/TestScript.hpp') 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 requirements = std::vector(); 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 -- cgit v1.2.3-56-ga3b1