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