test: define final character HUD contracts
This commit is contained in:
@@ -182,7 +182,7 @@ func test_hud_uses_french_spacing_for_focus_and_gold_labels() -> void:
|
||||
game.get_run_state().gold = 42
|
||||
hud.refresh(state, [], game.get_run_state())
|
||||
assert_eq(hud.player_focus_label.text, "Focus : %d/%d" % [state.player.focus, state.player.max_focus])
|
||||
assert_eq(hud.gold_label.text, "Or : 42")
|
||||
assert_eq(hud.gold_label.text, "42")
|
||||
|
||||
func test_hud_keeps_the_domain_message_for_unknown_journal_event_kinds() -> void:
|
||||
var game := GameScene.instantiate() as Game
|
||||
|
||||
Reference in New Issue
Block a user