well, nothing works, at least there is something to debug

This commit is contained in:
2026-03-25 07:43:00 -06:00
parent f11b6f8c12
commit f24671bd19
4 changed files with 78 additions and 6 deletions

View File

@@ -2,6 +2,7 @@ find_package(cmocka REQUIRED)
add_executable(test_nodeArray test_ASTNodeArray.c)
add_executable(test_lexer test_lexer.c)
add_executable(test_parser test_parser.c)
target_link_libraries(test_nodeArray
calculator_lib
@@ -13,5 +14,11 @@ target_link_libraries(test_lexer
cmocka::cmocka
)
target_link_libraries(test_parser
calculator_lib
cmocka::cmocka
)
add_test(NAME nodeArray_tests COMMAND test_nodeArray)
add_test(NAME lexer_tests COMMAND test_lexer)
add_test(NAME parser_tests COMMAND test_parser)