mirror of
https://github.com/ArashPartow/exprtk.git
synced 2025-06-22 16:28:57 +00:00
Add ExprTk_BUILD_TESTING flag to enable testing
Also move the tests in a tests directory
This commit is contained in:
18
tests/CMakeLists.txt
Normal file
18
tests/CMakeLists.txt
Normal file
@ -0,0 +1,18 @@
|
||||
# **************************************************************
|
||||
# * C++ Mathematical Expression Toolkit Library *
|
||||
# * *
|
||||
# * Author: Arash Partow (1999-2023) *
|
||||
# * URL: https://www.partow.net/programming/exprtk/index.html *
|
||||
# * *
|
||||
# * Copyright notice: *
|
||||
# * Free use of the Mathematical Expression Toolkit Library is *
|
||||
# * permitted under the guidelines and in accordance with the *
|
||||
# * most current version of the MIT License. *
|
||||
# * http://www.opensource.org/licenses/MIT *
|
||||
# * *
|
||||
# **************************************************************
|
||||
|
||||
add_executable(exprtk_test exprtk_test.cpp)
|
||||
target_link_libraries(exprtk_test ExprTk)
|
||||
|
||||
add_test(NAME exprtk_test COMMAND exprtk_test)
|
37872
tests/exprtk_functional_ext_test.txt
Normal file
37872
tests/exprtk_functional_ext_test.txt
Normal file
File diff suppressed because it is too large
Load Diff
8310
tests/exprtk_functional_test.txt
Normal file
8310
tests/exprtk_functional_test.txt
Normal file
File diff suppressed because it is too large
Load Diff
9405
tests/exprtk_test.cpp
Normal file
9405
tests/exprtk_test.cpp
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user