mirror of
https://gitlab.com/Luci_/arduino-photometrics.git
synced 2026-04-03 11:35:37 +02:00
change for cli
This commit is contained in:
parent
52ec8c4b8c
commit
30de47ac61
|
|
@ -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)
|
void setup(void)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
4
test/unity_config.h
Executable file
4
test/unity_config.h
Executable file
|
|
@ -0,0 +1,4 @@
|
||||||
|
#ifndef UNITY_CONFIG_H
|
||||||
|
#define UNITY_CONFIG_H
|
||||||
|
|
||||||
|
#endif
|
||||||
Loading…
Reference in a new issue