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/Requirement.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/Requirement.hpp')
-rw-r--r-- | src/openvic-simulation/testing/Requirement.hpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/openvic-simulation/testing/Requirement.hpp b/src/openvic-simulation/testing/Requirement.hpp index e91fa79..85a1573 100644 --- a/src/openvic-simulation/testing/Requirement.hpp +++ b/src/openvic-simulation/testing/Requirement.hpp @@ -7,15 +7,15 @@ namespace OpenVic { class Requirement { // Loaded during construction - std::string PROPERTY_RW(id); - std::string PROPERTY_RW(text); - std::string PROPERTY_RW(acceptance_criteria); + std::string PROPERTY(id); + std::string PROPERTY(text); + std::string PROPERTY(acceptance_criteria); bool PROPERTY(pass); bool PROPERTY_RW(tested); // Initialised and used during script execution - std::string PROPERTY_RW(target_value); - std::string PROPERTY_RW(actual_value); + std::string PROPERTY(target_value); + std::string PROPERTY(actual_value); public: Requirement(std::string in_id, std::string in_text, std::string in_acceptance_criteria) { @@ -27,5 +27,7 @@ namespace OpenVic { } void set_pass(bool in_pass); + void set_target_value(std::string_view new_target_value); + void set_actual_value(std::string_view new_actual_value); }; } |