diff options
author | hop311 <hop3114@gmail.com> | 2024-02-19 21:36:19 +0100 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2024-02-19 21:56:05 +0100 |
commit | e5a7ddfa0aeb8f62e2b53f111122c1c51c03dabc (patch) | |
tree | d55471ba1dd0a487e14e2ab18a3c4e3e2d0140ad /src/openvic-simulation/testing/Requirement.hpp | |
parent | 35e5f7828a41736194362186ad4f946fad5964d1 (diff) |
Fixed point rounding functions and sources cleanup
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); }; } |