From 30de47ac617ceb7693dc156fd06ff50f3d5af62c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Gauthier?= Date: Wed, 10 Dec 2025 13:14:23 +0100 Subject: [PATCH] change for cli --- test/EEPROM_test_struct.cpp | 10 ++++++++++ test/unity_config.h | 4 ++++ 2 files changed, 14 insertions(+) create mode 100755 test/unity_config.h diff --git a/test/EEPROM_test_struct.cpp b/test/EEPROM_test_struct.cpp index 708143e..16dc460 100644 --- a/test/EEPROM_test_struct.cpp +++ b/test/EEPROM_test_struct.cpp @@ -312,7 +312,17 @@ void test_get_measure_at(){ } } +// Définition de la fonction de préparation +void setUp(void) { + // mettez ici le code qui doit s'exécuter AVANT CHAQUE test + // Par exemple : initialisation de variables, nettoyage d'états +} +// Définition de la fonction de nettoyage +void tearDown(void) { + // mettez ici le code qui doit s'exécuter APRÈS CHAQUE test + // Par exemple : désallocation de mémoire, réinitialisation de l'état +} void setup(void) { diff --git a/test/unity_config.h b/test/unity_config.h new file mode 100755 index 0000000..d2ed5d2 --- /dev/null +++ b/test/unity_config.h @@ -0,0 +1,4 @@ +#ifndef UNITY_CONFIG_H +#define UNITY_CONFIG_H + +#endif \ No newline at end of file