TrayTempo v0.2.0 : minuteur Pomodoro Windows en Nim avec interface intuitive

This commit is contained in:
2026-08-14 10:39:21 -04:00
commit 3218972ddf
26 changed files with 3154 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
## test_floating.nim
## ==================
## Test d'intégration de la fenêtre flottante : crée, met à jour puis détruit
## la vraie fenêtre Win32 et vérifie que l'état est cohérent. Ce test réduit le
## fossé entre « compile » et « observé » pour cette fonctionnalité.
import std/unittest
import ../src/floating
suite "floating window":
test "show, update and hide manage a real window":
check not floatingVisible()
showFloating()
check floatingVisible()
# La mise à jour du texte ne doit pas lever d'erreur.
updateFloating("Travail 24:59")
hideFloating()
check not floatingVisible()