This commit is contained in:
2025-12-16 14:19:06 +01:00
parent b73c46acb2
commit 4baf018963
8 changed files with 602 additions and 7 deletions
+9 -1
View File
@@ -36,7 +36,15 @@ $(program_obj_filesobj_files): %.o: %.c
# Unit Tests
# --------------------------
unitTests:
echo "needs to be implemented"
stackTests: stack.o test_stack.c $(unityfolder)/unity.c
$(CC) $(CFLAGS) -I$(unityfolder) -o stackTests test_stack.c stack.o $(unityfolder)/unity.c ${LDFLAGS}
bintreeTests: bintree.o stack.o bintreeTest.c $(unityfolder)/unity.c
$(CC) $(CFLAGS) -I$(unityfolder) -o bintreeTests bintreeTest.c bintree.o stack.o $(unityfolder)/unity.c ${LDFLAGS}
numbersTests: numbers.o test_numbers.c $(unityfolder)/unity.c
$(CC) $(CFLAGS) -I$(unityfolder) -o numbersTests test_numbers.c numbers.o $(unityfolder)/unity.c ${LDFLAGS}
# --------------------------
# Clean