Révision 204
Ajouté par Alexis FOURNIER il y a environ 3 ans
main.c | ||
---|---|---|
return T;
|
||
|
||
|
||
|
||
}
|
||
|
||
|
||
//Ajouter vos tests unitaires dans cette fonction.
|
||
void tests_unitaires(void){
|
||
/* if (5!=5){
|
||
if (5!=5){
|
||
printf ("Erreur Test unitaire basique.\n");
|
||
exit(-1);
|
||
}
|
||
... | ... | |
exit(-1);
|
||
|
||
}
|
||
*/
|
||
|
||
if (decode_trame("$GPGGA,141914.00,5445.0044,N,00306.6036,E,1,05,3.4,499.3,M,,M,,*7D", &p1)!=1){
|
||
printf ("Erreur Test unitaire decode_trame.\n");
|
||
}
|
Formats disponibles : Unified diff
decode trame qui fonctionne de maniere approximative, question 2 en preparation Fournier Alexis