Add explicit stairs and measure elevator congestion with real actors
This commit is contained in:
@@ -49,7 +49,7 @@ func _run() -> void:
|
||||
"world preview consumes the scene theme instead of hard-coded asset paths"
|
||||
)
|
||||
_expect(
|
||||
visual_theme.facility_icons.size() == 16
|
||||
visual_theme.facility_icons.size() == 18
|
||||
and visual_theme.navigation_icons.size() == 6
|
||||
and visual_theme.resource_icons.size() == 4
|
||||
and visual_theme.control_icons.size() == 6,
|
||||
@@ -92,12 +92,12 @@ func _run() -> void:
|
||||
"dashboard exposes action points and payroll arrears"
|
||||
)
|
||||
var palette := _main.find_child("BuildPalette", true, false) as GridContainer
|
||||
_expect(palette.get_child_count() == 16, "all sixteen MVP facilities appear in the build palette")
|
||||
_expect(palette.get_child_count() == 18, "all sixteen MVP facilities and two stairs appear in the build palette")
|
||||
var iconized_build_buttons := 0
|
||||
for build_button_value: Variant in (_main.get("build_buttons") as Dictionary).values():
|
||||
if (build_button_value as Button).icon != null:
|
||||
iconized_build_buttons += 1
|
||||
_expect(iconized_build_buttons == 16, "all facility catalog buttons consume theme-provided icons")
|
||||
_expect(iconized_build_buttons == 18, "all facility catalog buttons consume theme-provided icons")
|
||||
var palette_scroll := _main.find_child("BuildPaletteScroll", true, false) as ScrollContainer
|
||||
_expect(
|
||||
palette_scroll != null and palette_scroll.is_ancestor_of(palette),
|
||||
|
||||
Reference in New Issue
Block a user