diff --git a/makefile b/makefile index 1f15f75..e0a3a3a 100644 --- a/makefile +++ b/makefile @@ -35,8 +35,11 @@ $(program_obj_filesobj_files): %.o: %.c # -------------------------- # Unit Tests # -------------------------- -unitTests: - echo "needs to be implemented" +numbers_tests: + $(CC) $(FLAGS) numbers.c bintree.c stack.c unity.c test_numbers.c -o test_numbers + +stack_tests: + $(CC) $(FLAGS) stack.c unity.c stackunitytest.c -o test_stack # -------------------------- # Clean diff --git a/stacktest.exe b/stacktest.exe deleted file mode 100644 index 38227e6..0000000 Binary files a/stacktest.exe and /dev/null differ diff --git a/test_numbers.exe b/test_numbers.exe new file mode 100644 index 0000000..db67879 Binary files /dev/null and b/test_numbers.exe differ diff --git a/teststack.exe b/test_stack.exe similarity index 62% rename from teststack.exe rename to test_stack.exe index 11e07b3..781c0df 100644 Binary files a/teststack.exe and b/test_stack.exe differ