implement basic unit testing

This commit is contained in:
2025-03-10 21:21:03 -04:00
parent 60996e3de2
commit 7258ef5810
4 changed files with 85 additions and 17 deletions

9
tests/Makefile Normal file
View File

@@ -0,0 +1,9 @@
#
# Makefile
#
include ../config.mk
all: unit-tests.c
$(CC) unit-tests.c -o test-suite -lcunit -lconfig ../build/libglacier.a -Wall -Wextra
./test-suite