diff options
author | Thomas White <taw@physics.org> | 2020-07-09 12:01:43 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:53:45 +0200 |
commit | fbef32528d3b4b2b2f694aa16d60c53511b1d402 (patch) | |
tree | 73fce3701cfc50f2a519fcb0a62de9e9db5f4be7 /tests/CMakeLists.txt | |
parent | e19507ae14b5b9456d6c3379b43ba1ad1b2cc527 (diff) |
Add wavelength and electron_voltage, plus units, to geometry file
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r-- | tests/CMakeLists.txt | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 7c1a7836..23a0c95d 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -158,3 +158,43 @@ target_link_libraries(ev_enum3 ${COMMON_LIBRARIES}) add_test(NAME ev_enum3 COMMAND ev_enum3 ${CMAKE_CURRENT_SOURCE_DIR}/ev_enum3.h5 ${CMAKE_CURRENT_SOURCE_DIR}/ev_enum3.geom) + +add_executable(wavelength_geom wavelength_geom.c) +target_include_directories(wavelength_geom PRIVATE ${COMMON_INCLUDES}) +target_link_libraries(wavelength_geom ${COMMON_LIBRARIES}) +add_test(NAME wavelength_geom1 + COMMAND wavelength_geom ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom.h5 + ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom1.geom 1e-10) +add_test(NAME wavelength_geom2 + COMMAND wavelength_geom ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom.h5 + ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom2.geom 1.3776e-10) +add_test(NAME wavelength_geom3 + COMMAND wavelength_geom ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom.h5 + ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom3.geom 1.3776e-10) +add_test(NAME wavelength_geom4 + COMMAND wavelength_geom ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom.h5 + ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom4.geom 1.9687e-12) +add_test(NAME wavelength_geom5 + COMMAND wavelength_geom ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom.h5 + ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom5.geom 1.9687e-12) +add_test(NAME wavelength_geom6 + COMMAND wavelength_geom ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom.h5 + ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom6.geom 1.3776e-10) +add_test(NAME wavelength_geom7 + COMMAND wavelength_geom ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom.h5 + ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom7.geom 1.3776e-10) +add_test(NAME wavelength_geom8 + COMMAND wavelength_geom ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom.h5 + ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom8.geom 1.9687e-12) +add_test(NAME wavelength_geom9 + COMMAND wavelength_geom ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom.h5 + ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom9.geom 1.3776e-10) +add_test(NAME wavelength_geom10 + COMMAND wavelength_geom ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom.h5 + ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom10.geom 1.3776e-10) +add_test(NAME wavelength_geom11 + COMMAND wavelength_geom ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom.h5 + ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom11.geom 1.125e-10) +add_test(NAME wavelength_geom12 + COMMAND wavelength_geom ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom.h5 + ${CMAKE_CURRENT_SOURCE_DIR}/wavelength_geom12.geom 1.125e-10) |