Skip to content

Commit

Permalink
bruh
Browse files Browse the repository at this point in the history
  • Loading branch information
FluffyGhoster committed Oct 16, 2024
1 parent c739b15 commit d4c4eaf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aurorastation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -3737,7 +3737,7 @@
#include "code\modules\world_api\commands\tickets.dm"
#include "code\modules\xgm\xgm_gas_data.dm"
#include "code\modules\xgm\xgm_gas_mixture.dm"
#include "code\unit_tests\area_configuration_tests.dm "
#include "code\unit_tests\area_configuration_tests.dm"
#include "code\unit_tests\chemistry_tests.dm"
#include "code\unit_tests\cooking_tests.dm"
#include "code\unit_tests\create_and_destroy.dm"
Expand Down
9 changes: 8 additions & 1 deletion code/unit_tests/area_configuration_tests.dm
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,20 @@ ABSTRACT_TYPE(/datum/unit_test/area_configuration)
/datum/unit_test/area_configuration/exoplanet_area_with_exoplanet_base_turfs/start_test()
var/test_status = UNIT_TEST_PASSED

for(var/exoplanet_area_typepath in subtypesof(/area/exoplanet))
for(var/area/exoplanet/exoplanet_area_typepath in subtypesof(/area/exoplanet))
//No need for abstract areas to respect this really
if(is_abstract(exoplanet_area_typepath))
TEST_DEBUG("Skipping abstract exoplanet area [exoplanet_area_typepath]")
continue

TEST_DEBUG("Now testing exoplanet area [exoplanet_area_typepath]")

//The bounds have to be set based on the direction of the stairs, that must be set in code for sanity
if(!istype(exoplanet_area_typepath::base_turf, /turf/simulated/floor/exoplanet))
test_status = TEST_FAIL("The exoplanet area [exoplanet_area_typepath] does not have an exoplanet base turf!")

else
TEST_NOTICE("The exoplanet area [exoplanet_area_typepath] has an exoplanet base turf.")
TEST_DEBUG("The exoplanet area [exoplanet_area_typepath] has [exoplanet_area_typepath::base_turf] as its base turf.")

return test_status

0 comments on commit d4c4eaf

Please sign in to comment.