mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
Separate station/unit tests and disable lavaland procgen and ruin spawning in tests (for now). (#28106)
* Separate station/unit tests and disable lavaland. * add CI/local test conflict check back
This commit is contained in:
@@ -1,24 +1,3 @@
|
||||
/**
|
||||
* Map per-tile test.
|
||||
*
|
||||
* Per-tile map tests iterate over each tile of a map to perform a check, and
|
||||
* fails the test if a tile does not pass the check. A new test can be
|
||||
* written by extending /datum/map_per_tile_test, and implementing the check
|
||||
* in CheckTile.
|
||||
*/
|
||||
/datum/map_per_tile_test
|
||||
var/succeeded = TRUE
|
||||
var/list/fail_reasons
|
||||
var/failure_count = 0
|
||||
|
||||
/datum/map_per_tile_test/proc/CheckTile(turf/T)
|
||||
Fail("CheckTile() called parent or not implemented")
|
||||
|
||||
/datum/map_per_tile_test/proc/Fail(turf/T, reason)
|
||||
succeeded = FALSE
|
||||
LAZYADD(fail_reasons, "[T.x],[T.y],[T.z]: [reason]")
|
||||
failure_count++
|
||||
|
||||
/**
|
||||
* Check to ensure that APCs have a cable node on their tile.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user