mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-25 08:42:20 +00:00
* the boulder must be pushed * awk? * sadfasdf * sadf * sadfsda * asdf * sdfasafd * asdfsad * asdf * dsfafa * despair * sadfsda * sdfsadf * 1589 * sdaf * sadfasd * asdf * safsadf * fdsafsa * add create and destroy * fdsa * sdafasfsda * pods for away sites * oopsie * hgdfs * i am speed * sdafas * hopefully this works first trAHAHAHAH * asdf * dfsadasf * sfasdf * 6461 * dsfasfd * sfda * fsd * sdfas * fsdaf * sadf * safasf * sudo * sadfsad * dfsdf
28 lines
770 B
Plaintext
28 lines
770 B
Plaintext
/*
|
|
*
|
|
* Specific Heat Chemistry Test
|
|
* Checks if a reagent has a specific heat value.
|
|
*
|
|
*/
|
|
|
|
/datum/unit_test/specific_heat
|
|
name = "Chemistry Test - Specific Heat"
|
|
groups = list("generic", "chemistry")
|
|
|
|
/datum/unit_test/specific_heat/start_test()
|
|
|
|
var/error_count = 0
|
|
|
|
for(var/reagent in GET_SINGLETON_SUBTYPE_MAP(/singleton/reagent/))
|
|
var/singleton/reagent/R = reagent
|
|
if(!SSchemistry.has_valid_specific_heat(R))
|
|
TEST_FAIL("[reagent] lacks a proper specific heat value!")
|
|
error_count++
|
|
|
|
if(error_count)
|
|
TEST_FAIL("[error_count] reagents(s) found without a proper specific heat value. Assign a specific heat value or make a recipe with these reagents as the final product.")
|
|
else
|
|
TEST_PASS("All reagents have a specific heat value.")
|
|
|
|
return 1
|