uvmac
uvmac copied to clipboard
Add unit testing
It would be beneficial to set up a unit testing framework here. The codebase is very brittle, and having tests would dramatically help with that.
Steps to take:
- Select a unit test framework
- Install the unit test framework, somehow
- Write some basic tests
- Set up GitHub CI to run the tests automatically
Possible test frameworks:
- cmocka
- Criterion
- GoogleTest
- rolling our own with a healthy dose of
<assert.h>