Révision 276
Ajouté par Guillaume DAVID il y a environ 3 ans
main.c | ||
---|---|---|
}
|
||
|
||
void test_decode_longitude(void){
|
||
if(decode_longitude("$GPGGA,141914.00,4545.0000,N,00306.6036,E,1,05,3.4,499.3,M,,M,,*7D")!=3.110060){
|
||
if(decode_longitude("$GPGGA,141914.00,4545.0000,N,00306.6036,E,1,05,3.4,499.3,M,,M,,*7D")!=3.1100599765777588){
|
||
printf("Erreur test unitaire decode_longitude\n");
|
||
printf("%f",decode_longitude("$GPGGA,141914.00,4545.0000,N,00306.6036,E,1,05,3.4,499.3,M,,M,,*7D"));
|
||
exit(-1);
|
||
}
|
||
}
|
Formats disponibles : Unified diff
test_decode_longitude implantée