Create file structure

This commit is contained in:
2021-04-10 20:52:09 +02:00
commit 7570251185
10 changed files with 18104 additions and 0 deletions

9
test/CMakeLists.txt Normal file
View File

@@ -0,0 +1,9 @@
project(base64-test)
add_custom_target(test "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}" "-r compact" "-s" DEPENDS ${PROJECT_NAME})
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/catch-framework")
aux_source_directory("src" TEST_SOURCES)
add_executable(${PROJECT_NAME} ${TEST_SOURCES})
target_link_libraries(${PROJECT_NAME} base64-lib)

17618
test/catch-framework/catch.hpp Normal file

File diff suppressed because it is too large Load Diff

2
test/src/test-main.cpp Normal file
View File

@@ -0,0 +1,2 @@
#define CATCH_CONFIG_MAIN
#include <catch.hpp>

4
test/src/tests.cpp Normal file
View File

@@ -0,0 +1,4 @@
#include <catch.hpp>
#include <string>
#include <iostream>