mirror of https://github.com/CGAL/cgal
CDT: add tests
This commit is contained in:
parent
e03279ec13
commit
8ae9a279a4
|
|
@ -34,6 +34,11 @@ create_single_source_cgal_program("debug_segment_traverser_in_2D.cpp")
|
|||
create_single_source_cgal_program( "cdt_test_insert_constrained_edge_from_EDG_file.cpp" CXX_FEATURES cxx_std_20)
|
||||
create_single_source_cgal_program( "cdt_test_insert_constrained_edge_from_OFF_file.cpp" CXX_FEATURES cxx_std_20)
|
||||
create_single_source_cgal_program( "cdt_3_from_off.cpp" CXX_FEATURES cxx_std_20)
|
||||
add_executable(cdt_3_from_off_CGAL_DEBUG_CDT_3 cdt_3_from_off)
|
||||
target_compile_definitions(cdt_3_from_off_CGAL_DEBUG_CDT_3 PRIVATE CGAL_DEBUG_CDT_3)
|
||||
target_compile_features(cdt_3_from_off_CGAL_DEBUG_CDT_3 PRIVATE cxx_std_20)
|
||||
target_link_libraries(cdt_3_from_off_CGAL_DEBUG_CDT_3 PUBLIC CGAL::CGAL CGAL::Data)
|
||||
cgal_add_test(cdt_3_from_off_CGAL_DEBUG_CDT_3)
|
||||
|
||||
add_executable(test_CDT_3_insert_constrained_edge_from_EDG_file cdt_test_insert_constrained_edge_from_EDG_file.cpp)
|
||||
target_link_libraries(test_CDT_3_insert_constrained_edge_from_EDG_file PUBLIC CGAL::CGAL CGAL::Data)
|
||||
|
|
@ -47,6 +52,20 @@ target_compile_features(test_CDT_3_insert_constrained_edge_from_OFF_file PUBLIC
|
|||
target_compile_definitions(test_CDT_3_insert_constrained_edge_from_OFF_file PUBLIC CGAL_TEST_CDT_3_USE_CDT)
|
||||
cgal_add_test(test_CDT_3_insert_constrained_edge_from_OFF_file)
|
||||
|
||||
add_test(NAME "execution of cdt_3_from_off cube" COMMAND cdt_3_from_off ${CGAL_DATA_DIR}/meshes/cube.off)
|
||||
add_test(NAME "execution of cdt_3_from_off sphere" COMMAND cdt_3_from_off ${CGAL_DATA_DIR}/meshes/sphere.off)
|
||||
add_test(NAME "execution of cdt_3_from_off fandisk" COMMAND cdt_3_from_off ${CGAL_DATA_DIR}/meshes/fandisk.off)
|
||||
add_test(NAME "execution of cdt_3_from_off mpi" COMMAND cdt_3_from_off ${CGAL_DATA_DIR}/meshes/mpi.off)
|
||||
add_test(NAME "execution of cdt_3_from_off 3torus" COMMAND cdt_3_from_off ${CGAL_DATA_DIR}/meshes/3torus.off)
|
||||
add_test(NAME "execution of cdt_3_from_off_CGAL_DEBUG_CDT_3 3torus" COMMAND cdt_3_from_off_CGAL_DEBUG_CDT_3 ${CGAL_DATA_DIR}/meshes/3torus.off)
|
||||
|
||||
cgal_setup_test_properties("execution of cdt_3_from_off cube" cdt_3_from_off)
|
||||
cgal_setup_test_properties("execution of cdt_3_from_off sphere" cdt_3_from_off)
|
||||
cgal_setup_test_properties("execution of cdt_3_from_off fandisk" cdt_3_from_off)
|
||||
cgal_setup_test_properties("execution of cdt_3_from_off mpi" cdt_3_from_off)
|
||||
cgal_setup_test_properties("execution of cdt_3_from_off 3torus" cdt_3_from_off)
|
||||
cgal_setup_test_properties("execution of cdt_3_from_off_CGAL_DEBUG_CDT_3 3torus" cdt_3_from_off_CGAL_DEBUG_CDT_3)
|
||||
|
||||
get_directory_property(all_tests TESTS)
|
||||
foreach(test ${all_tests})
|
||||
if(test MATCHES cdt|CDT)
|
||||
|
|
|
|||
Loading…
Reference in New Issue