mirror of
https://gitlab.com/Luci_/arduino-photometrics.git
synced 2026-04-03 11:35:37 +02:00
ouais
This commit is contained in:
parent
49f8bf3014
commit
c93935372e
|
|
@ -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
|
||||||
|
|
@ -338,6 +335,7 @@ int main( int argc, char **argv) {
|
||||||
RUN_TEST(test_get_measure_at);
|
RUN_TEST(test_get_measure_at);
|
||||||
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();
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue