mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
* Updates our unit testing to be much better than it is now Updates our unit testing to somewhat more functional ones ported from TG I also added 2 new unit tests to serve as examples, mapping and job landmarks. * Revert some minor things * Fixes the log file * Update unit_tests.dm * adds a missing icon * additional changes
7 lines
346 B
Plaintext
7 lines
346 B
Plaintext
/datum/unit_test/subsystem_init/Run()
|
|
for(var/datum/controller/subsystem/master_subsystem as anything in Master.subsystems)
|
|
if(master_subsystem.flags & SS_NO_INIT)
|
|
continue
|
|
if(!master_subsystem.initialized)
|
|
TEST_FAIL("[master_subsystem]([master_subsystem.type]) is a subsystem meant to initialize but doesn't get set as initialized.")
|