Test Routinen als Unittest integriert
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
"""
|
||||
Test-Skript zum Generieren der Flaggen-Icons.
|
||||
Erstellt Icons für verschiedene Sprachen basierend auf dxfCs.png.
|
||||
"""
|
||||
import flags
|
||||
|
||||
# Generiere alle Flaggen-Icons
|
||||
icons = []
|
||||
icons.append(flags.add_flag(flags.flag_en, "dxfen"))
|
||||
icons.append(flags.add_flag(flags.flag_fr, "dxffr"))
|
||||
icons.append(flags.add_flag(flags.flag_it, "dxfit"))
|
||||
icons.append(flags.add_flag(flags.flag_es, "dxfes"))
|
||||
|
||||
print("Generierte Icons:")
|
||||
for icon in icons:
|
||||
print(f" - {icon}")
|
||||
print(f"\nAlle Icons wurden in {flags.ICON_DIR} gespeichert.")
|
||||
Reference in New Issue
Block a user