mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-21 15:42:35 +00:00
* Initial experiment * holy shit the pain of this rabbit hole * F * F * F * F * FFF * FFFF * FFFFFFFFF * FFFFFFFFFF * FF * ffffff * ffffffff * F^F * FFFFFF * F * Robusted * F * Some readability, hopefully * Fear * Aurora was a mistake * Horrors beyond our comprehension * Use the appropriate macro across the tests * Brah * FF * Mute janitors robusting the ling * Frail doctors revealing to be more trained than a KGB sleeper agent when the crew armory opens * FFFFFFF * gujbjh * Shitcode, shitcode everywhere * Pain * Cursed codebase * Fix AI mask qdel, SQL tests to macro * Attempt at github grouping * Take two * Brah * Maybe this looks better * Different formatting * FFS * Visuals * pain * FFFFF * hyuh * fgdsgd * igyguybujgb * Just calling the parent here * dsfs * fdsaf * Move more pieces to use the macros * Finish moving to macro * gah * Changelog, some touchups * Fix another found runtime * GDI
18 lines
444 B
Plaintext
18 lines
444 B
Plaintext
/datum/unit_test/language_test
|
|
name = "Language Test - Repeated Keys"
|
|
|
|
/datum/unit_test/language_test/start_test()
|
|
var/list/used_keys = list()
|
|
|
|
for(var/language_path in subtypesof(/datum/language))
|
|
var/datum/language/L = new language_path
|
|
if(L.key in used_keys)
|
|
TEST_FAIL("[L.name]'s key, [L.key], is used multiple times!")
|
|
continue
|
|
used_keys += L.key
|
|
|
|
if(!reported)
|
|
TEST_PASS("All languages have unique keys.")
|
|
|
|
return TRUE
|