This commit is contained in:
Aurélien Gauthier 2025-12-10 14:18:31 +01:00
parent 49f8bf3014
commit c93935372e

View file

@ -324,13 +324,10 @@ void tearDown(void) {
// Par exemple : désallocation de mémoire, réinitialisation de l'état // Par exemple : désallocation de mémoire, réinitialisation de l'état
} }
void setup(void)
{
Serial.begin(9600);
}
//WARNING: Tests are not exhaustive and do not cover all possibilities. //WARNING: Tests are not exhaustive and do not cover all possibilities.
int main( int argc, char **argv) { int main( int argc, char **argv) {
Serial.begin(9600);
TEST_MESSAGE("Debuts des tests.");
UNITY_BEGIN(); UNITY_BEGIN();
// 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
@ -339,5 +336,6 @@ int main( int argc, char **argv) {
RUN_TEST(test_add_measure); 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.");
UNITY_END(); UNITY_END();
} }