Added tests for SAS parser.

This commit is contained in:
2016-05-20 18:46:37 +02:00
parent fb04b5fb11
commit 16b8b4c833
4 changed files with 1045 additions and 0 deletions

23
tests/CMakeLists.txt Normal file
View File

@@ -0,0 +1,23 @@
set(target tests)
file(GLOB core_sources "*.cpp")
find_package(GTest)
INCLUDE_DIRECTORIES(
${GTEST_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
${PROJECT_SOURCE_DIR}/include
)
set(libraries
${Boost_LIBRARIES}
${GTEST_BOTH_LIBRARIES}
plasp
)
file(COPY data DESTINATION ${CMAKE_BINARY_DIR})
add_executable(${target} ${core_sources})
target_link_libraries(${target} ${libraries})
GTEST_ADD_TESTS(tests "" ${core_sources})