extends GutTest const FloorGeneratorType = preload("res://scripts/domain/world/floor_generator.gd") func test_floor_fifteen_targets_more_than_one_hundred_fifty_rooms() -> void: var profile := FloorGeneratorType.generation_profile(15) assert_gt(int(profile["target_room_count"]), 150) func test_deeper_profiles_have_more_rooms_than_shallow_profiles() -> void: assert_gt( int(FloorGeneratorType.generation_profile(12)["target_room_count"]), int(FloorGeneratorType.generation_profile(2)["target_room_count"]) ) func test_profile_is_bounded_at_the_final_floor() -> void: var profile := FloorGeneratorType.generation_profile(18) assert_lte(int(profile["map_size"].x), 700) assert_lte(int(profile["map_size"].y), 350) assert_lte(int(profile["target_room_count"]), 500)