2022-11-12 13:32:41 -05:00
|
|
|
set(TEST_NAMES
|
|
|
|
|
test_distribution
|
2023-03-31 13:46:42 -04:00
|
|
|
test_file_utils
|
2023-05-01 22:00:45 -05:00
|
|
|
test_tally
|
2023-11-15 03:49:53 -06:00
|
|
|
test_interpolate
|
2024-06-19 23:56:02 +08:00
|
|
|
test_math
|
2025-08-08 07:09:24 -07:00
|
|
|
test_mcpl_stat_sum
|
2025-10-22 02:03:27 +03:00
|
|
|
test_mesh
|
2026-07-19 21:49:48 +02:00
|
|
|
test_ray
|
2026-01-15 22:23:35 -06:00
|
|
|
test_region
|
2026-02-17 09:50:38 -06:00
|
|
|
test_tensor
|
2022-12-23 12:54:59 -05:00
|
|
|
# Add additional unit test files here
|
2022-11-12 13:32:41 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
foreach(test ${TEST_NAMES})
|
|
|
|
|
add_executable(${test} ${test}.cpp)
|
|
|
|
|
target_link_libraries(${test} Catch2::Catch2WithMain libopenmc)
|
|
|
|
|
add_test(NAME ${test} COMMAND ${test} WORKING_DIRECTORY ${UNIT_TEST_BIN_OUTPUT_DIR})
|
|
|
|
|
endforeach()
|