aboutsummaryrefslogtreecommitdiff
path: root/src/test/ScriptTest.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-14 11:32:59 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-14 11:32:59 +0100
commita61e3d522c29cfea966a06bb9f9e5e42eae2b7ab (patch)
tree7c0e7d5a0d61f8fa70442eb0584dd012225b5f44 /src/test/ScriptTest.cpp
parent6ddb8c0e7003a66a7b350f7a11ef80803c180307 (diff)
parentb6e835c5f9da24b78a005c6c8896ad35ac965234 (diff)
merge `loek/scripts`
Diffstat (limited to 'src/test/ScriptTest.cpp')
-rw-r--r--src/test/ScriptTest.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/ScriptTest.cpp b/src/test/ScriptTest.cpp
index ccf5060..11d138c 100644
--- a/src/test/ScriptTest.cpp
+++ b/src/test/ScriptTest.cpp
@@ -73,3 +73,15 @@ TEST_F(ScriptTest, UpdateInactive) {
system.fixed_update();
}
}
+
+TEST_F(ScriptTest, SaveManager) {
+ MyScript & script = this->script;
+
+ EXPECT_EQ(&script.get_save_manager(), &this->save_manager);
+}
+
+TEST_F(ScriptTest, LoopTimerManager) {
+ MyScript & script = this->script;
+
+ EXPECT_EQ(&script.get_loop_timer(), &this->loop_timer);
+}