Jut setting all up for the calculator
This commit is contained in:
10
test/CMakeLists.txt
Normal file
10
test/CMakeLists.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
find_package(cmocka REQUIRED)
|
||||
|
||||
add_executable(test_parser test_parser.c)
|
||||
|
||||
target_link_libraries(test_parser
|
||||
calculator_lib
|
||||
cmocka::cmocka
|
||||
)
|
||||
|
||||
add_test(NAME parser_tests COMMAND test_parser)
|
||||
5
test/test_parser.c
Normal file
5
test/test_parser.c
Normal file
@@ -0,0 +1,5 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
int main() {
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
Reference in New Issue
Block a user