base functional unit tests for transpiler

This commit is contained in:
jorenchik
2024-11-10 11:03:09 +02:00
parent 084f6afb13
commit f7f3ac5d4c
8 changed files with 481 additions and 32 deletions

23
src/test/CMakeLists.txt Normal file
View File

@@ -0,0 +1,23 @@
cmake_minimum_required(VERSION 3.14)
project(MdemoryTest)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(GTest REQUIRED)
enable_testing()
add_executable(
testTranspiler
testTranspiler.cpp
)
target_link_libraries(
testTranspiler
GTest::gtest_main
api
)
include(GoogleTest)
gtest_discover_tests(testTranspiler)