mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Little Weakref Refactor
This commit is contained in:
committed by
CHOMPStation2
parent
515d0e49ba
commit
3d53d2bb62
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user