parent
4ea540106e
commit
a00548566b
@ -1,44 +0,0 @@
|
||||
/**
|
||||
* \file sae102.h
|
||||
* \author Erwan. M & Corentin. L
|
||||
* \date 11/12/22
|
||||
* \brief Résumé : Fichier .c regroupant la fonction main pour lancer le programme et les tests
|
||||
*/
|
||||
|
||||
#include "sae102.h"
|
||||
|
||||
void testListeNouv(void){
|
||||
|
||||
ListeDept l;
|
||||
|
||||
l = Listenouv();
|
||||
|
||||
if (l == NULL) printf("OK\n");
|
||||
|
||||
else printf("Bug...\n");
|
||||
|
||||
}
|
||||
|
||||
void testInsererEnTete(void){
|
||||
|
||||
char departement[22], nomResp[22];
|
||||
|
||||
int nbP;
|
||||
|
||||
ListeDept l = Listenouv();
|
||||
|
||||
strcpy(departement, "infotest\0");
|
||||
|
||||
nbP = 50;
|
||||
|
||||
strcpy(nomResp, "Mireille Mathieu\0");
|
||||
|
||||
l = insererEnTete(l, departement, nbP, nomResp);
|
||||
|
||||
}
|
||||
|
||||
int main(void){
|
||||
|
||||
menuPrincipal();
|
||||
|
||||
}
|
Loading…
Reference in new issue