An Implementation of Priority Queues using Binary Heaps in C
Disclaimer
Only supported in Linux. Untested on Darwin (MacOS). Use WSL with Windows.
Dependencies
Check dependencies with:
make check
Dependencies are CUnit
for unit tests and valgrind
for memory leak checks. Compilation tested with gcc
. Install with apt if not installed:
sudo apt install CUnit valgrind gcc
Tests
Run tests with:
make test
Delete built binaries by the tester in case of error with:
make clean
Run tests for memory leaks:
make memcheck