Add Unity unit tests for numbers and finalize sorting

This commit is contained in:
2025-12-17 14:12:36 +01:00
parent 624d75e7cd
commit 1ab79ceb81
16 changed files with 435 additions and 93 deletions
+7 -2
View File
@@ -35,9 +35,14 @@ $(program_obj_filesobj_files): %.o: %.c
# --------------------------
# Unit Tests
# --------------------------
unitTests:
echo "needs to be implemented"
unitTests: test_numbers
./test_numbers
test_numbers: test_numbers.c numbers.c bintree.c stack.c unity/unity.c
gcc -Wall -Wextra -std=c99 -Iunity \
-o test_numbers \
test_numbers.c numbers.c bintree.c stack.c unity/unity.c
# --------------------------
# Clean
# --------------------------