Adds unit tests

Port of https://github.com/Baystation12/Baystation12/pull/11808 and
several others
Fixes three overlapping cables ([192 / 158 / 1], [214 / 161 / 1], [122 /
197 / 1])
Fixes drill and mech drill having the same ID.
This commit is contained in:
Kelenius
2016-03-29 17:33:20 +03:00
parent 905601cf17
commit c8b510b415
13 changed files with 447 additions and 4 deletions

View File

@@ -82,6 +82,9 @@
/proc/log_misc(text)
diary << "\[[time_stamp()]]MISC: [text][log_end]"
/proc/log_unit_test(text)
world.log << "## UNIT_TEST: [text]"
//pretty print a direction bitflag, can be useful for debugging.
/proc/print_dir(var/dir)
var/list/comps = list()