This is a red-black tree library implements by C.
you can following these steps to run test:
- setup cmockery library.
- create a new folder in 'test' folder, such as 'build'.
- run 'cmake ..' in the folder you create.
- run 'make' to build test executable file.
- if everything's ok, run './test_rbtree'.
There's no need to compile and setup this code. File rbtree.h contains all functions and structures you can use, you can include this file where you want to using red-black tree. Besides don't forget add all .c file except files in test folder to your build system.