aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/testing/test_scripts
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-02-19 21:36:19 +0100
committer hop311 <hop3114@gmail.com>2024-02-19 21:56:05 +0100
commite5a7ddfa0aeb8f62e2b53f111122c1c51c03dabc (patch)
treed55471ba1dd0a487e14e2ab18a3c4e3e2d0140ad /src/openvic-simulation/testing/test_scripts
parent35e5f7828a41736194362186ad4f946fad5964d1 (diff)
Fixed point rounding functions and sources cleanup
Diffstat (limited to 'src/openvic-simulation/testing/test_scripts')
-rw-r--r--src/openvic-simulation/testing/test_scripts/A_001_file_tests.cpp3
-rw-r--r--src/openvic-simulation/testing/test_scripts/A_002_economy_tests.cpp3
-rw-r--r--src/openvic-simulation/testing/test_scripts/A_003_military_unit_tests.cpp3
-rw-r--r--src/openvic-simulation/testing/test_scripts/A_004_networking_tests.cpp3
-rw-r--r--src/openvic-simulation/testing/test_scripts/A_005_nation_tests.cpp3
-rw-r--r--src/openvic-simulation/testing/test_scripts/A_006_politics_tests.cpp3
6 files changed, 6 insertions, 12 deletions
diff --git a/src/openvic-simulation/testing/test_scripts/A_001_file_tests.cpp b/src/openvic-simulation/testing/test_scripts/A_001_file_tests.cpp
index e24d44c..213da76 100644
--- a/src/openvic-simulation/testing/test_scripts/A_001_file_tests.cpp
+++ b/src/openvic-simulation/testing/test_scripts/A_001_file_tests.cpp
@@ -5,8 +5,7 @@ namespace OpenVic {
class A_001_file_tests : public TestScript {
public:
- A_001_file_tests() {
- set_script_name("A_001_file_tests");
+ A_001_file_tests() : TestScript { "A_001_file_tests" } {
add_requirements();
}
diff --git a/src/openvic-simulation/testing/test_scripts/A_002_economy_tests.cpp b/src/openvic-simulation/testing/test_scripts/A_002_economy_tests.cpp
index 4bff710..e811144 100644
--- a/src/openvic-simulation/testing/test_scripts/A_002_economy_tests.cpp
+++ b/src/openvic-simulation/testing/test_scripts/A_002_economy_tests.cpp
@@ -5,8 +5,7 @@ namespace OpenVic {
class A_002_economy_tests : public TestScript {
public:
- A_002_economy_tests() {
- set_script_name("A_002_economy_tests");
+ A_002_economy_tests() : TestScript { "A_002_economy_tests" } {
add_requirements();
}
diff --git a/src/openvic-simulation/testing/test_scripts/A_003_military_unit_tests.cpp b/src/openvic-simulation/testing/test_scripts/A_003_military_unit_tests.cpp
index cf572d0..b61abb4 100644
--- a/src/openvic-simulation/testing/test_scripts/A_003_military_unit_tests.cpp
+++ b/src/openvic-simulation/testing/test_scripts/A_003_military_unit_tests.cpp
@@ -5,8 +5,7 @@ namespace OpenVic {
class A_003_military_unit_tests : public TestScript {
public:
- A_003_military_unit_tests() {
- set_script_name("A_003_military_unit_tests");
+ A_003_military_unit_tests() : TestScript { "A_003_military_unit_tests" } {
add_requirements();
}
diff --git a/src/openvic-simulation/testing/test_scripts/A_004_networking_tests.cpp b/src/openvic-simulation/testing/test_scripts/A_004_networking_tests.cpp
index 0e05540..984a3c2 100644
--- a/src/openvic-simulation/testing/test_scripts/A_004_networking_tests.cpp
+++ b/src/openvic-simulation/testing/test_scripts/A_004_networking_tests.cpp
@@ -5,8 +5,7 @@ namespace OpenVic {
class A_004_networking_tests : public TestScript {
public:
- A_004_networking_tests() {
- set_script_name("A_004_networking_tests");
+ A_004_networking_tests() : TestScript { "A_004_networking_tests" } {
add_requirements();
}
diff --git a/src/openvic-simulation/testing/test_scripts/A_005_nation_tests.cpp b/src/openvic-simulation/testing/test_scripts/A_005_nation_tests.cpp
index 6f91ac2..bfa8a59 100644
--- a/src/openvic-simulation/testing/test_scripts/A_005_nation_tests.cpp
+++ b/src/openvic-simulation/testing/test_scripts/A_005_nation_tests.cpp
@@ -5,8 +5,7 @@ namespace OpenVic {
class A_005_nation_tests : public TestScript {
public:
- A_005_nation_tests() {
- set_script_name("A_005_nation_tests");
+ A_005_nation_tests() : TestScript { "A_005_nation_tests" } {
add_requirements();
}
diff --git a/src/openvic-simulation/testing/test_scripts/A_006_politics_tests.cpp b/src/openvic-simulation/testing/test_scripts/A_006_politics_tests.cpp
index 091075c..f9e93d9 100644
--- a/src/openvic-simulation/testing/test_scripts/A_006_politics_tests.cpp
+++ b/src/openvic-simulation/testing/test_scripts/A_006_politics_tests.cpp
@@ -5,8 +5,7 @@ namespace OpenVic {
class A_006_politics_tests : public TestScript {
public:
- A_006_politics_tests() {
- set_script_name("A_006_politics_tests");
+ A_006_politics_tests() : TestScript { "A_006_politics_tests" } {
add_requirements();
}