mirror of
https://github.com/deunix-educ/aventuriers-des-mots.git
synced 2026-10-13 02:11:58 +02:00
Add settings screen and adult space with progress report and save export/restore (0.4.0)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
extends GutTest
|
||||
## Chaque notion (skill) presente dans les donnees doit avoir un intitule
|
||||
## affichable dans l'espace adulte.
|
||||
|
||||
|
||||
func test_every_skill_has_a_label() -> void:
|
||||
var file := FileAccess.open(UIText.LOCALIZATION_PATH, FileAccess.READ)
|
||||
var labels: Dictionary = JSON.parse_string(file.get_as_text())
|
||||
var seen := {}
|
||||
for rule: Dictionary in ExerciseEngine._rules.values():
|
||||
seen[rule["skill"]] = true
|
||||
assert_gt(seen.size(), 0)
|
||||
for skill_id: String in seen:
|
||||
assert_true(labels.has("skill.%s" % skill_id), "Intitule manquant : skill.%s" % skill_id)
|
||||
Reference in New Issue
Block a user