Files
S.P.L.U.R.T-Station-13/code/modules/unit_tests/reactions.dm
2021-11-14 10:17:50 -08:00

8 lines
297 B
Plaintext

/datum/unit_test/reactions/Run()
for(var/datum/gas_reaction/G in SSair.gas_reactions)
if(!G.exclude)
var/test_info = G.test()
if(!test_info["success"])
var/message = test_info["message"]
Fail("Gas reaction [G.name] is failing its unit test with the following message: [message]")