Adds some card unit tests, cleans up some comments (#51434)

* Adds unit tests, some more checks, and improves some comments

* sweep sweep sweep?

* Braindamage
This commit is contained in:
LemonInTheDark
2020-06-05 18:46:58 +08:00
committed by GitHub
parent 22e619dcf1
commit eab31fd4d5
6 changed files with 55 additions and 117 deletions
+1
View File
@@ -4,6 +4,7 @@
#ifdef UNIT_TESTS
#include "anchored_mobs.dm"
#include "bespoke_id.dm"
#include "card_mismatch.dm"
#include "component_tests.dm"
#include "plantgrowth_tests.dm"
#include "reagent_id_typos.dm"
+7
View File
@@ -0,0 +1,7 @@
/datum/unit_test/card_mismatch
/datum/unit_test/card_mismatch/Run()
var/message = checkCardpacks(SStrading_card_game.card_packs)
message += checkCardDatums()
if(message)
Fail(message)