aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/testing/Requirement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/testing/Requirement.cpp')
-rw-r--r--src/openvic-simulation/testing/Requirement.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/openvic-simulation/testing/Requirement.cpp b/src/openvic-simulation/testing/Requirement.cpp
index e7d03e5..eb48f5b 100644
--- a/src/openvic-simulation/testing/Requirement.cpp
+++ b/src/openvic-simulation/testing/Requirement.cpp
@@ -6,3 +6,11 @@ void Requirement::set_pass(bool in_pass) {
pass = in_pass;
set_tested(true); // Ever setting a pass condition implies it has been tested
}
+
+void Requirement::set_target_value(std::string_view new_target_value) {
+ target_value = new_target_value;
+}
+
+void Requirement::set_actual_value(std::string_view new_actual_value) {
+ actual_value = new_actual_value;
+}