yadro-task/tests/CMakeLists.txt
erius 4397e519bf Added FileTape constuctor that initializes FileTape from vector of uint32_t
Slight rewrite of fill_file_with_empty_cells
Adjusted seek offset in some FileTape operations
Unit tests now work with vector of uint32_t as source of test data
2024-10-26 16:10:14 +03:00

7 lines
275 B
CMake

find_package(Catch2 3 REQUIRED)
add_executable(filetape_tests ${PROJECT_SOURCE_DIR}/tests/filetape_tests.cpp)
target_link_libraries(filetape_tests PRIVATE tapelib)
target_link_libraries(filetape_tests PRIVATE Catch2::Catch2WithMain)
add_test(filetape_tests filetape_tests)