C implementations of various data structures and their operations. Each data structure has it's own set of tests, which can be run, and has been tested for memory leaks, which can also be run.
Before running the tests, you must first open a terminal and clone the repo:
git clone https://github.com/Tomkay94/c-datastructures.git
To run the correctness tests for a certain data structure:
cd
to the specific data structure's folder.- run
make tests
.
To run the memory leak detection tests for a certain data structure:
cd
to the specific data structure's folder.- run
make leakcheck
.
To run all correctness tests for all data structures:
cd
to the root of the repo folder.- run
./makeTests.sh
.