# curves module — existing tests
add_vde_test(test_bezier)
add_vde_test(test_nurbs)
add_vde_test(test_nurbs_operations)
add_vde_test(test_nurbs_matrix)
add_vde_test(test_surface_intersection)
add_vde_test(test_surface_intersection_extra)
add_vde_test(test_parallel_intersection)
add_vde_test(test_surface_continuity)
add_vde_test(test_surface_analysis)
add_vde_test(test_surface_extension)
add_vde_test(test_class_a_surfacing)
# Wave4-G3A: N-sided G3 network fill / adaptive G3 stitching
add_vde_test(test_class_a_g3_network)
add_vde_test(test_advanced_intersection)
add_vde_test(test_iga_prep)
add_vde_test(test_curve_tools)
# Phase4B-G3Curve: G3 ?????/??/????/???
add_vde_test(test_g3_curves)
add_vde_test(test_generative_surfaces)
add_vde_test(test_surface_editing)
add_vde_test(test_surface_quality)
add_vde_test(test_surface_battery)
# curves module — new coverage tests
add_vde_test(test_curve_intersect)
add_vde_test(test_nurbs_curve)
add_vde_test(test_bezier_surface)
# B2: nurbs trim/untrim — curve trimming
add_vde_test(test_nurbs_trim)
# 既有测试文件补齐注册
# P1.x：该测试使用 vde_io 的 surface_to_brep_tools（thicken/sew/surface_to_brep）——io 关闭时不构建
if(VDE_ENABLE_io)
add_vde_test(test_surface_tools)
endif()
# 既有头文件对应测试补齐（0% 覆盖率模块）
add_vde_test(test_tessellation)
# F10: 细分曲面（Catmull-Clark）
add_vde_test(test_subdivision)
# F11: 点云逆向重建
add_vde_test(test_reconstruction)
# F12: 知识工程（参数化公式 / UDF / PowerCopy）
add_vde_test(test_parameterization)
# VDE-1222: 2D 几何构造/编辑算子（求交/fillet/chamfer/TTR/TTT/闭合拟合/光顺/解析等距）
add_vde_test(test_geom2d)

# Phase4-RE task-90: 反求工程 G2/G3 缝合 + 质量证据
# P1.x：该测试使用 vde_io 的 mesh/reverse_engineering 实现——io 关闭时不构建
if(VDE_ENABLE_io)
add_vde_test(test_reverse_engineering_g23)
endif()
# VDE-1232/1240: G3 blend 折叠 patch + 退化 NURBS 防御
add_vde_test(test_vde1232_g3_blend)
add_vde_test(test_vde1240_degenerate)
# VDE-1261: fair_surface 无效 NURBS 防御/崩溃回归
add_vde_test(test_surface_fairing)
# VDE-1263A: BSplineSurface evaluate/derivative 回归
add_vde_test(test_bspline_surface)
# 1.0.175: curves 层 P0/P1 契约与导数正确性回归
add_vde_test(test_curve_robustness)
# VDE-1373: NurbsSurface 构造期校验（负阶次/畸节点/权重/网格）回归
add_vde_test(test_nurbs_surface_validation)
# VDE-1379: NURBS 认证套件（analytics/极端尺度/极点/投影/三角化/闭合性）
add_vde_test(test_nurbs_certification)
# SMLib 对齐：曲面去节点 / 曲线 G1 分段 / 退化段识别
add_vde_test(test_smlib_nurbs_alignment)

# KCP-1.0 Wave 3 / W17NURBS ݲջ + Ƶ㣨ǰڵ + 㣩
add_vde_test(test_fit_tolerance)

# W43 core-plus: curves SSI critical path
add_vde_test(test_cov_ssi)
# W54 core-plus-v2: generative surfaces checked/error branches
add_vde_test(test_cov_wave9_generative)
