3 lines
3.6 KiB
HTML
3 lines
3.6 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/unit_test - /tg/ Station 13</title></head><body><header><a href="index.html">/tg/ Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a> — <a href="datum/unit_test.html#var">Var Details</a> - <a href="datum/unit_test.html#proc">Proc Details</a></header><main><h1>unit_test <aside>/<a href="datum.html">datum</a>/<a href="datum/unit_test.html">unit_test</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/unit_tests/unit_test.dm#L18"><img src="git.png" width="16" height="16" title="code/modules/unit_tests/unit_test.dm 18"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/unit_test.html#var/priority">priority</a></th><td>The priority of the test, the larger it is the later it fires</td></tr><tr><th><a href="datum/unit_test.html#var/run_loc_floor_bottom_left">run_loc_floor_bottom_left</a></th><td>The bottom left floor turf of the testing zone</td></tr><tr><th><a href="datum/unit_test.html#var/run_loc_floor_top_right">run_loc_floor_top_right</a></th><td>The top right floor turf of the testing zone</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/unit_test.html#proc/allocate">allocate</a></th><td>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</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/priority"><aside class="declaration">var </aside>priority <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/unit_tests/unit_test.dm#L28"><img src="git.png" width="16" height="16" title="code/modules/unit_tests/unit_test.dm 28"></a></h3><p>The priority of the test, the larger it is the later it fires</p><h3 id="var/run_loc_floor_bottom_left"><aside class="declaration">var </aside>run_loc_floor_bottom_left <aside>– /<a href="turf.html">turf</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/unit_tests/unit_test.dm#L23"><img src="git.png" width="16" height="16" title="code/modules/unit_tests/unit_test.dm 23"></a></h3><p>The bottom left floor turf of the testing zone</p><h3 id="var/run_loc_floor_top_right"><aside class="declaration">var </aside>run_loc_floor_top_right <aside>– /<a href="turf.html">turf</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/unit_tests/unit_test.dm#L26"><img src="git.png" width="16" height="16" title="code/modules/unit_tests/unit_test.dm 26"></a></h3><p>The top right floor turf of the testing zone</p><h2 id="proc">Proc Details</h2><h3 id="proc/allocate"><aside class="declaration">proc </aside>allocate<aside>(type, ...) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/unit_tests/unit_test.dm#L77"><img src="git.png" width="16" height="16" title="code/modules/unit_tests/unit_test.dm 77"></a></aside></h3><p>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</p></main><footer>tgstation.dme <a href="https://github.com/evilew/GS13-Citadel/tree/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e">e8e0068</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.9.0</a></footer></body></html> |