Refactor intrinThresholdParams to use shared DAP helpers.

Delegate threshold param parsing to the new DeviceAttachmentSpec primitives
so intrin modules stay aligned with stimBuff param conventions.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-14 11:00:30 -04:00
parent b198f6a42b
commit 42c9fcdfdf
3 changed files with 375 additions and 66 deletions
@@ -19,3 +19,25 @@ add_dependencies(deviceAttachmentSpecParams_tests gtest_main)
add_test(
NAME deviceAttachmentSpecParams_tests
COMMAND deviceAttachmentSpecParams_tests)
add_executable(intrinThresholdParams_tests
intrinThresholdParams_tests.cpp
)
target_include_directories(intrinThresholdParams_tests PRIVATE
${CMAKE_SOURCE_DIR}/include
${CMAKE_BINARY_DIR}/include
${CMAKE_SOURCE_DIR}/libspinscale/tests
)
target_link_libraries(intrinThresholdParams_tests
gtest_main
spinscale_test_support
${Boost_LIBRARIES}
)
add_dependencies(intrinThresholdParams_tests gtest_main)
add_test(
NAME intrinThresholdParams_tests
COMMAND intrinThresholdParams_tests)