Little Weakref Refactor

This commit is contained in:
Heroman3003
2023-06-03 19:21:17 +10:00
committed by CHOMPStation2
parent 515d0e49ba
commit 3d53d2bb62
41 changed files with 295 additions and 172 deletions

View File

@@ -37,7 +37,7 @@
/datum/unit_test/integrated_circuits/equals_6/arrange()
A = new(get_standard_turf())
inputs_to_give = list(weakref(A), weakref(A))
inputs_to_give = list(WEAKREF(A), WEAKREF(A))
..()
/datum/unit_test/integrated_circuits/equals_6/clean_up()
@@ -55,7 +55,7 @@
/datum/unit_test/integrated_circuits/equals_7/arrange()
A = new(get_standard_turf())
B = new(get_standard_turf())
inputs_to_give = list(weakref(A), weakref(B))
inputs_to_give = list(WEAKREF(A), WEAKREF(B))
..()
/datum/unit_test/integrated_circuits/equals_7/clean_up()
@@ -209,4 +209,4 @@
name = "Logic Circuits: Not - Invert to True"
circuit_type = /obj/item/integrated_circuit/logic/unary/not
inputs_to_give = list(0)
expected_outputs = list(1)
expected_outputs = list(1)