You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
594 B
25 lines
594 B
#include "../header/sae.h"
|
|
// test rapide de commit jean...
|
|
|
|
/**
|
|
* @brief Test fonction Jean
|
|
*
|
|
*/
|
|
void testJean(void)
|
|
{
|
|
int nbvilles;
|
|
VilleIut *tIut[50] ;
|
|
|
|
nbvilles= chargIutDon(tIut, 50, "../donnees/iut.don");
|
|
//tIut = (VilleIut **)malloc(sizeof(VilleIut *)*nbvilles);
|
|
// strcpy(tIut[0]->nom, "John");
|
|
// strcpy(tIut[0]->ldept->nomDept, "Info");
|
|
// strcpy(tIut[0]->ldept->resp, "YAnis");
|
|
// tIut[0]->ldept->nbP = 12;
|
|
// tIut[0]->ldept->suiv = NULL;
|
|
|
|
|
|
afficheVillesIUT(tIut, nbvilles);
|
|
sauvegarderFichierIutDon(tIut, nbvilles, "result.don");
|
|
}
|