Implement day 05.

This commit is contained in:
2019-12-05 18:19:14 +01:00
parent 8a431820b0
commit c62bcf010f
6 changed files with 175 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ add_executable(runner src/runner.cpp)
target_compile_features(runner PUBLIC cxx_std_17)
target_link_libraries(runner AoCSolutions)
add_executable(unit_tests tests/test_solutions.cpp)
add_executable(unit_tests tests/test_solutions.cpp tests/test_intcode.cpp)
target_compile_features(unit_tests PUBLIC cxx_std_17)
target_link_libraries(unit_tests AoCSolutions GTest::GTest GTest::Main)
target_compile_definitions(unit_tests PRIVATE "TEST_SAMPLES_DIR=\"${CMAKE_SOURCE_DIR}/tests/samples\"")