Manhattan routing snapped to the rectangular grid with port-side-aware exit stubs, right-angle crossing detection between routed polylines, and painter paths bridging crossings with semicircular arcs (configurable radius). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
12 lines
447 B
CMake
12 lines
447 B
CMake
# Test targets are added per module; all run offscreen via ctest.
|
|
function(diag_add_test NAME)
|
|
add_executable(${NAME} ${NAME}.cpp)
|
|
target_link_libraries(${NAME} PRIVATE ${ARGN} Qt6::Test)
|
|
add_test(NAME ${NAME} COMMAND ${NAME})
|
|
set_tests_properties(${NAME} PROPERTIES ENVIRONMENT "QT_QPA_PLATFORM=offscreen")
|
|
endfunction()
|
|
|
|
diag_add_test(tst_model diagcore)
|
|
diag_add_test(tst_properties diagcore)
|
|
diag_add_test(tst_router diagcore)
|