implement stack with some initial testing

This commit is contained in:
2025-11-29 12:57:07 +01:00
parent fe4c130d72
commit ef59987f08
4 changed files with 88 additions and 12 deletions
+5 -2
View File
@@ -35,8 +35,11 @@ $(program_obj_filesobj_files): %.o: %.c
# --------------------------
# Unit Tests
# --------------------------
unitTests:
echo "needs to be implemented"
TEST_STACK_SOURCES = stack.c test_stack.c $(unityfolder)/unity.c
stackTests: $(TEST_STACK_SOURCES) stack.h
$(CC) $(FLAGS) -I$(unityfolder) $(TEST_STACK_SOURCES) -o runStackTests
./runStackTests
# --------------------------
# Clean