From 85823eee27d8a69fcb1c52127d4558c13c845cdb Mon Sep 17 00:00:00 2001 From: Henrik Batz Date: Thu, 19 Nov 2026 09:47:19 +0100 Subject: [PATCH] Implementation test_stack.c --- Startcode/highscores.txt | 1 + Startcode/makefile | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Startcode/highscores.txt b/Startcode/highscores.txt index 4f8712d..581ab14 100644 --- a/Startcode/highscores.txt +++ b/Startcode/highscores.txt @@ -1,5 +1,6 @@ Lukas;5999 Lukas;4999 Tobi;4999 +Henrik;4977 Lukas;3999 player1;3999 diff --git a/Startcode/makefile b/Startcode/makefile index de3fc27..dbf3277 100644 --- a/Startcode/makefile +++ b/Startcode/makefile @@ -35,12 +35,12 @@ $(program_obj_files): %.o: %.c # -------------------------- # Unit Tests # -------------------------- -unitTests: numbersTests - ./numbersTests - numbersTests: numbersTests.c numbers.o bintree.o stack.o $(unityfolder)/unity.c $(CC) $(FLAGS) -I$(unityfolder) $^ -o numbersTests +stackTests: test_stack.c stack.o $(unityfolder)/unity.c + $(CC) $(FLAGS) -I$(unityfolder) $^ -o stackTests + bintreeTests: bintree.o test_bintree.c stack.o $(unityfolder)/unity.c $(CC) $(CFLAGS) -I$(unityfolder) -o runBintreeTests test_bintree.c bintree.o stack.o $(unityfolder)/unity.c