byond - Modules - TypesVar Details - Proc Details

/datum/unit_test

Vars

priorityThe priority of the test, the larger it is the later it fires
run_loc_floor_bottom_leftThe bottom left floor turf of the testing zone
run_loc_floor_top_rightThe top right floor turf of the testing zone

Procs

allocateAllocates an instance of the provided type, and places it somewhere in an available loc Instances allocated through this proc will be destroyed when the test is over
get_flat_icon_for_all_directionsHelper for screenshot tests to take an image of an atom from all directions and insert it into one icon
log_for_testLogs a test message. Will use GitHub action syntax found at https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions

Var Details

priority

The priority of the test, the larger it is the later it fires

run_loc_floor_bottom_left

The bottom left floor turf of the testing zone

run_loc_floor_top_right

The top right floor turf of the testing zone

Proc Details

allocate

Allocates an instance of the provided type, and places it somewhere in an available loc Instances allocated through this proc will be destroyed when the test is over

get_flat_icon_for_all_directions

Helper for screenshot tests to take an image of an atom from all directions and insert it into one icon

log_for_test

Logs a test message. Will use GitHub action syntax found at https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions