More tests

This commit is contained in:
Simon Brand
2017-10-02 10:06:58 +01:00
parent 5f9d4ae23e
commit d85eae5f7e
4 changed files with 240 additions and 1 deletions

View File

@@ -9,6 +9,11 @@ target_include_directories(Catch INTERFACE ${CATCH_INCLUDE_DIR})
# Make test executable
set(TEST_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/tests/main.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tests/noexcept.cpp)
${CMAKE_CURRENT_SOURCE_DIR}/tests/noexcept.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tests/make_optional.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tests/in_place.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tests/relops.cpp
${CMAKE_CURRENT_SOURCE_DIR}/tests/nullopt.cpp)
add_executable(tests ${TEST_SOURCES})
target_link_libraries(tests Catch)