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.

48 lines
716 B

/**
* \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);
}
ListeDept insererEnTete(ListeDept l, char* departement, int nbP, char* nomResp){
int main(void){
testListeNouv();
//menuPrincipal();
}