unit->game tests, /tg/ assertions and allocations (#27646)

* unit->game tests, /tg/ assertions and allocations

* whoopsies

* fix lint
This commit is contained in:
warriorstar-orion
2024-12-21 21:19:33 +00:00
committed by GitHub
parent 79bad427c8
commit bb60a027bf
53 changed files with 304 additions and 243 deletions
+5
View File
@@ -0,0 +1,5 @@
// Unit test to check SQL version has been updated properly.,
/datum/game_test/sql_version/Run()
// Check if the SQL version set in the code is equal to the CI DB config
TEST_ASSERT_EQUAL(GLOB.configuration.database.version, SQL_VERSION, "SQL version error. You may need to update the example config.")
TEST_ASSERT_EQUAL(SSdbcore.total_errors, 0, "SQL errors occurred on startup.")