added tests, expanding solution algorithm
This commit is contained in:
@@ -13,3 +13,26 @@ add_executable(somaesque
|
||||
)
|
||||
#target_link_libraries(somaesque glfw GL X11 pthread Xrandr dl SDL2 glm::glm)
|
||||
#target_include_directories(somaesque PRIVATE src/KHR src/glad)
|
||||
|
||||
# TESTING
|
||||
include(FetchContent)
|
||||
FetchContent_Declare(
|
||||
googletest
|
||||
URL https://github.com/google/googletest/archive/03597a01ee50ed33e9dfd640b249b4be3799d395.zip
|
||||
)
|
||||
FetchContent_MakeAvailable(googletest)
|
||||
|
||||
enable_testing()
|
||||
add_executable(tests
|
||||
tests.cpp
|
||||
VoxelSpace.cpp
|
||||
VoxelSpace.h
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
tests
|
||||
GTest::gtest_main
|
||||
)
|
||||
|
||||
include(GoogleTest)
|
||||
gtest_discover_tests(tests)
|
||||
|
||||
Reference in New Issue
Block a user