stack.c und h geschrieben, unittests geschrieben und bestanden.

This commit is contained in:
2025-12-02 11:28:20 +01:00
parent 08fbfefa32
commit 41e01c3af3
4 changed files with 94 additions and 6 deletions
+8 -2
View File
@@ -35,8 +35,14 @@ $(program_obj_filesobj_files): %.o: %.c
# --------------------------
# Unit Tests
# --------------------------
unitTests:
echo "needs to be implemented"
unitTests: stacktest
test_stack: stacktest.o stack.o
$(CC) $(FLAGS) $^ -o stacktest
test_stack.o: stacktest.c
$(CC) -c $(FLAGS) $< -o $@
# --------------------------
# Clean