Author SHA1 Message Date
kelleral99467 7127fe6d3f makefile verändert 2025-12-11 11:55:13 +01:00
kelleral99467 44434a8c67 makefile verändert 2025-12-11 11:54:52 +01:00
kelleral99467 5ee0f97dc6 test 1 2025-12-11 11:42:46 +01:00
kelleral99467 6dd963c40e makefile verändert 2025-12-11 11:40:17 +01:00
4 changed files with 6 additions and 4 deletions
+4 -2
View File
@@ -35,8 +35,10 @@ $(program_obj_filesobj_files): %.o: %.c
# --------------------------
# Unit Tests
# --------------------------
unitTests:
echo "needs to be implemented"
unitTestsStack: stack.o test_stack.c $(unityfolder)/unity.c
$(CC) $(FLAGS) -I$(unityfolder) $^ -o $@
# --------------------------
# Clean
BIN
View File
Binary file not shown.
+2 -2
View File
@@ -39,7 +39,7 @@ void test_push_and_top(void)
TEST_ASSERT_EQUAL_INT(30, *(int*)top(stack));
clearStack(&stack);
clearStack(stack);
TEST_ASSERT_NULL(stack);
}
@@ -72,7 +72,7 @@ void test_clearStack(void)
stack = push(stack, &x);
stack = push(stack, &y);
clearStack(&stack);
clearStack(stack);
TEST_ASSERT_NULL(stack);
}
Binary file not shown.