extends GdUnitTestSuite

## NEO-85: prototype target display helpers for combat dummy markers and HUD copy.

const PrototypeTargetConstants := preload("res://scripts/prototype_target_constants.gd")


func test_display_short_name_maps_alpha_and_beta() -> void:
	# Arrange
	# Act
	var alpha: String = PrototypeTargetConstants.display_short_name("prototype_target_alpha")
	var beta: String = PrototypeTargetConstants.display_short_name("prototype_target_beta")
	# Assert
	assert_that(alpha).is_equal("Dummy α")
	assert_that(beta).is_equal("Dummy β")


func test_display_short_name_falls_back_to_id() -> void:
	# Arrange
	# Act
	var unknown: String = PrototypeTargetConstants.display_short_name("unknown_target")
	# Assert
	assert_that(unknown).is_equal("unknown_target")
