aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/testing/TestScript.cpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2023-10-29 15:11:10 +0100
committer hop311 <hop3114@gmail.com>2023-10-29 21:08:08 +0100
commit1b5e43fa7750cc4025d32f18390593cbce3ba842 (patch)
treed37fcb69766ec029ea4e3e2816c419f9d7e05f7c /src/openvic-simulation/testing/TestScript.cpp
parent164264b047921dbe1567d2af183e1cffb200a8cb (diff)
Clang-format formatting (with manual cleanup)
Diffstat (limited to 'src/openvic-simulation/testing/TestScript.cpp')
-rw-r--r--src/openvic-simulation/testing/TestScript.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/openvic-simulation/testing/TestScript.cpp b/src/openvic-simulation/testing/TestScript.cpp
index d08f34c..a238fb5 100644
--- a/src/openvic-simulation/testing/TestScript.cpp
+++ b/src/openvic-simulation/testing/TestScript.cpp
@@ -15,7 +15,7 @@ Requirement* TestScript::get_requirement_by_id(std::string id) {
return req;
}
}
- return new Requirement("NULL", "NULL", "NULL"); // edge case of failing to find
+ return new Requirement("NULL", "NULL", "NULL"); // edge case of failing to find
}
std::vector<Requirement*> TestScript::get_passed_requirements() {
std::vector<Requirement*> passed_requirements = std::vector<Requirement*>();
@@ -66,8 +66,9 @@ void TestScript::set_script_name(std::string in_script_name) {
}
// Methods
-void TestScript::pass_or_fail_req_with_actual_and_target_values(std::string req_name, std::string target_value,
- std::string actual_value) {
+void TestScript::pass_or_fail_req_with_actual_and_target_values(
+ std::string req_name, std::string target_value, std::string actual_value
+) {
Requirement* req = get_requirement_by_id(req_name);
req->set_target_value(target_value);
req->set_actual_value(actual_value);