The Setting Up is a project carried out in solo, during our 1st year in EPITECH Grand Ecole program.
Its purpose is to create in C a program to find the largest square in a zone.
You can run the setting-up like this :
- Map resolution :
./setting-up exemple_files/maps/intermediate_map_100_100
- Map generation and resolution :
./setting_up 10000 "......o.."
The result of this project is a perfect Setting Up.
If you discover a problem or an error, don't hesitate to create an issue and report it to us as soon as possible.
Category | Percentage | Numbers of tests | Crash |
---|---|---|---|
Algorithm app. - Generating column | 100% | 3/3 | No |
Algorithm app. - Generating edges | 100% | 2/2 | No |
Algorithm app. - Generating line | 100% | 3/3 | No |
Algorithm app. - Generating square | 100% | 3/3 | No |
Algorithm app. - Opening column | 100% | 3/3 | No |
Algorithm app. - Opening edges | 100% | 2/2 | No |
Algorithm app. - Opening line | 100% | 3/3 | No |
Algorithm app. - Opening rectangle | 100% | 3/3 | No |
Basics | 100% | 6/6 | No |
Data structure - Generating | 100% | 3/3 | No |
Data structure - Opening | 100% | 3/3 | No |
Optimization - Generating 100 to 500 | 100% | 4/4 | No |
Optimization - Generating 1000 to 2000 | 100% | 2/2 | No |
Optimization - Generating 5000 to 10000 | 100% | 2/2 | No |
Optimization - Opening 100 to 500 | 100% | 4/4 | No |
Optimization - Opening 1000 to 2000 | 100% | 2/2 | No |
Optimization - Opening 5000 to 10000 | 100% | 2/2 | No |
Parsing - Opening | 100% | 3/3 | No |
Robustness - Generating empty map | 100% | 4/4 | No |
Robustness - Generating filled map | 100% | 2/2 | No |
Robustness - Generating valid board | 100% | 5/5 | No |
Robustness - Opening empty map | 100% | 6/6 | No |
Robustness - Opening filled map | 100% | 6/6 | No |
Robustness - Opening valid file | 100% | 5/5 | No |
Results | 100% | 81/81 | No |
Unit tests were performed using criterion.
In this project, only the library code is covered.
Unit tests are still to be performed, but a large part of the code is already covered.
You can compile the project and run the unit tests with this command :
make tests_run
You can compile the project with this command :
make
If you want clean the project, you can run this command :
make fclean
You can clean and compile the project with make re
.
You can compile the unit tests with this command :
make unit_tests
- You'll need to create a branch where you'll push your code. Once you've completed your tasks on this branch, we'll work together to merge it and check that everything works.
- Every function you add must be code-style.
- Before merging, you'll need to check that all unit tests pass by running
make tests_run
. - Each commit will contain
[+]
or[-]
or[~]
followed by a message[+]
: Add feature[-]
: Delete feature[~]
: Edit feature
Of course, in exceptional cases, we may depart from these rules.
- Add help section
- Add a graphical visualization
- Add github actions
- Improve the memory management
- Add a documentation for each function
- Add unit tests on each piece of code
This project was carried out alone by Nicolas TORO.