This commit is contained in:
Aurélien Gauthier 2025-12-10 15:30:03 +01:00
parent 1a3fa5a702
commit 88b68cb13d
2 changed files with 3 additions and 7 deletions

View file

@ -314,6 +314,7 @@ void test_get_measure_at(){
// Définition de la fonction de préparation // Définition de la fonction de préparation
void setUp(void) { void setUp(void) {
Serial.begin(9600);
// mettez ici le code qui doit s'exécuter AVANT CHAQUE test // mettez ici le code qui doit s'exécuter AVANT CHAQUE test
// Par exemple : initialisation de variables, nettoyage d'états // Par exemple : initialisation de variables, nettoyage d'états
} }
@ -334,10 +335,9 @@ int main( int argc, char **argv) {
// The following commented test is here for faciltate the debug "test_get_measure_at", test_get_measure is private function for the storage_interface class // The following commented test is here for faciltate the debug "test_get_measure_at", test_get_measure is private function for the storage_interface class
// Maybe removed later // Maybe removed later
// RUN_TEST(test_get_measure); // RUN_TEST(test_get_measure);
RUN_TEST(test_get_measure_at);
RUN_TEST(test_add_measure);
RUN_TEST(test_get_struct); RUN_TEST(test_get_struct);
RUN_TEST(test_set_struct); RUN_TEST(test_set_struct);
TEST_MESSAGE("Fin des tests."); RUN_TEST(test_get_measure_at);
RUN_TEST(test_add_measure);
UNITY_END(); UNITY_END();
} }

View file

@ -1,4 +0,0 @@
#ifndef UNITY_CONFIG_H
#define UNITY_CONFIG_H
#endif