generated from freudenreichan/info2Praktikum-DobleSpiel
Add Unity unit tests for numbers and finalize sorting
This commit is contained in:
@@ -35,9 +35,14 @@ $(program_obj_filesobj_files): %.o: %.c
|
||||
# --------------------------
|
||||
# Unit Tests
|
||||
# --------------------------
|
||||
unitTests:
|
||||
echo "needs to be implemented"
|
||||
|
||||
unitTests: test_numbers
|
||||
./test_numbers
|
||||
|
||||
test_numbers: test_numbers.c numbers.c bintree.c stack.c unity/unity.c
|
||||
gcc -Wall -Wextra -std=c99 -Iunity \
|
||||
-o test_numbers \
|
||||
test_numbers.c numbers.c bintree.c stack.c unity/unity.c
|
||||
# --------------------------
|
||||
# Clean
|
||||
# --------------------------
|
||||
|
||||
Reference in New Issue
Block a user