moved functions to NumpyHelper.cpp and added a few tests

This commit is contained in:
Erik Frojdh
2024-03-12 16:52:36 +01:00
parent 3fee6b792d
commit 609c754b23
8 changed files with 234 additions and 152 deletions

View File

@ -13,3 +13,10 @@ target_link_libraries(core PUBLIC fmt::fmt PRIVATE aare_compiler_flags)
set_property(TARGET core PROPERTY POSITION_INDEPENDENT_CODE ON)
if(AARE_TESTS)
set(TestSources
${CMAKE_CURRENT_SOURCE_DIR}/src/defs.test.cpp
)
target_sources(tests PRIVATE ${TestSources} )
target_link_libraries(tests PRIVATE core)
endif()