3 Commits
Author SHA1 Message Date
hm d289921813 test(spatial/foundation): VDE-893 复核并补判别性测试(BVH::index_of、Tolerance 访问器、ErrorCode 谓词、export_dwg、has_texcoords)
Build & Test / build-and-test (push) Canceled after 0s
VDE Build & Test / build-and-test (push) Canceled after 0s
Build & Test / python-bindings (push) Canceled after 0s
spatial 7 项复核:get_aabb/get_position/query_ray_recursive/ray_hits_item/subdivide_recursive 为 private,update 已有专测(假阳性);公开缺口 BVH::index_of(+query_range_indices/query_ray_indices)补 3 例,验证索引回指原始输入三角形。

foundation 22 项复核:多数为已有专测/结构体字段假阳性;补测 Tolerance::absolute/relative/angular/snapping 访问器、ErrorCode is_error/is_success(互补+独立值复算)、export_dwg(诚实 false 且不落盘)、ObjMeshData::has_texcoords。test_bvh 19/19、test_io_utils 14/14、test_dxf 28/28、test_all_formats 19/19。审计未测试数 129→100。
2026-10-06 09:41:45 +08:00
hm 3334acf0fd test: comprehensive test suite + bug fixes across all modules
- Add 12 new test files: render/viewport_layout, render/section_view, boolean/polygon_offset, core/icp, core/voronoi, core/material_library, spatial/incremental_bvh, spatial/kd_tree, curves/bezier_surface, capi/capi_extended, and expand mesh/halfedge + mesh/delaunay
- Fix 30+ compilation errors: missing includes, undefined symbols, circular dependencies, namespace issues, API mismatches
- Implement missing functions: point_to_plane_icp, colored_icp, scale_aware_registration, polygon_offset_arc, multi_contour_offset, offset_quality_check, validate_style, available_standards, add_vertex_unique, angle_distribution
- Fix infinite recursion in MaterialDatabase constructor
- Fix polygon_offset normal direction (inward -> outward)
- Fix viewport_bounds out-of-bounds handling
- Add linker group flags for static library circular dependencies
- 87% test pass rate (4479 tests, 592 pre-existing failures)
2026-08-03 13:28:13 +08:00
茂之钳 16d35ffe9e test: full coverage — 12 new + 7 enhanced test files across 8 modules
New tests:
  capi/test_capi.cpp (C API 9 functions)
  curves/test_curve_intersect.cpp (3 tests)
  curves/test_iga_prep.cpp (5 tests)
  mesh/test_medial_axis.cpp (3 tests)
  mesh/test_mesh_quality.cpp (4 tests)
  mesh/test_grid_mesh.cpp (3 tests)
  boolean/test_boolean_edge_cases.cpp (5 tests)
  collision/test_gjk.cpp (3 tests)
  spatial/test_octree.cpp (4 tests)
  spatial/test_bvh.cpp (4 tests)
  spatial/test_spatial_index.cpp (3 tests)
  sketch/test_sketch_ops.cpp (4 tests)
  foundation/test_io_utils.cpp (3 tests)

Enhanced:
  mesh/test_mesh_boolean (4 tests)
  mesh/test_hex_mesh (3 tests)

Total: ~60+ new test cases
2026-08-03 00:41:05 +08:00