stack issueshttps://gitedu.hesge.ch/algorithmique/lib_2021_malaspinas/stack/-/issues2021-12-07T09:02:46+01:00https://gitedu.hesge.ch/algorithmique/lib_2021_malaspinas/stack/-/issues/19Add clang formatting2021-12-07T09:02:46+01:00orestis.malaspinAdd clang formattingClang format enables to have a uniform formatting, we should add one in the CI processClang format enables to have a uniform formatting, we should add one in the CI processhttps://gitedu.hesge.ch/algorithmique/lib_2021_malaspinas/stack/-/issues/18Add continuous integration2021-12-07T08:59:27+01:00orestis.malaspinAdd continuous integrationAlong with testing we have to use CI to build / test the project.Along with testing we have to use CI to build / test the project.https://gitedu.hesge.ch/algorithmique/lib_2021_malaspinas/stack/-/issues/17Add error handling2021-12-07T08:58:42+01:00orestis.malaspinAdd error handlingCurrently errors are not handled. We could add error handling by returning error codes.
A proposition would be to have these two categories (make an enum):
1. error
2. ok
We may need them in case of failed memory allocation (malloc or...Currently errors are not handled. We could add error handling by returning error codes.
A proposition would be to have these two categories (make an enum):
1. error
2. ok
We may need them in case of failed memory allocation (malloc or realloc), trying to pop/peek an empty stack, trying to manipulate a destroyed stack, ...https://gitedu.hesge.ch/algorithmique/lib_2021_malaspinas/stack/-/issues/16Add unit tests2021-12-07T08:55:01+01:00orestis.malaspinAdd unit testsThere is a munit integration that has been performed. Now we lack some tests.There is a munit integration that has been performed. Now we lack some tests.https://gitedu.hesge.ch/algorithmique/lib_2021_malaspinas/stack/-/issues/15Add a program example2021-12-07T08:54:28+01:00orestis.malaspinAdd a program exampleWe need an example to program to show how one can use the libraryWe need an example to program to show how one can use the library