mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
* Who the fuck overdoses a goliath with honk serum? * Fixes two bad food spawners * More descriptive test name * I lost track of this runtime. * whatever * Fixes runtime in spreading_growth.dm,20: bad index. Null is a valid value here
12 lines
625 B
Plaintext
12 lines
625 B
Plaintext
/datum/unit_test/autolathe/start()
|
|
return
|
|
|
|
/datum/unit_test/autolathe/test_recycling/start()
|
|
var/turf/centre = locate(100, 100, 1) // Nice place with a good atmosphere and shit
|
|
var/mob/living/carbon/human/test_subject = new(centre)
|
|
var/obj/machinery/r_n_d/fabricator/mechanic_fab/autolathe/autolathe = new(centre)
|
|
var/obj/machinery/r_n_d/fabricator/mechanic_fab/autolathe/ammolathe/ammolathe = new(centre)
|
|
|
|
var/obj/item/weapon/light/tube/large/test_object = new(centre)
|
|
assert_eq(autolathe.attackby(test_object, test_subject), 1)
|
|
assert_eq(ammolathe.attackby(test_object, test_subject), 0) |