9 Commits
Author SHA1 Message Date
hm 1efbeccaca test: 语料缺失跳过 + 工业格式契约 + 并行抖动修复 + 回归期望对齐
- 全量 ctest 基线 29 failures 分类处置:真实内核缺陷由本分支其它提交修复,
  本提交处理测试基础设施问题。
- 缺外部语料(corpus/ 已 gitignore)的用例改为 GTEST_SKIP 并给出检索路径:
  StepUserFile 6 项(corpus/step/test_cube.STEP)、Io3mfTest 2 项
  (corpus/3mf/*.3mf)、DxfDrawingCorpus.FlangeSampleHasRichContent。
- 并行 ctest 抖动(-j12 下偶发失败)根因:测试共享固定临时文件名。改为
  PID+计数器唯一路径:test_step_corpus(STEP/IGES roundtrip)、test_dwg
  (DwgChannel 桩转换器/输入/夹具)。`ctest -j12 --repeat until-fail:3`
  396 次 0 失败。
- 工业格式契约:read_file_bytes 改 bool 返回不抛异常;import_jt /
  import_parasolid_xt / import_acis_sat 对空路径/不可读文件返回空 BrepModel
  (与 import_step/import_iges 一致;import_ifc 保持原契约),export_jt 返回
  f.good();同步更新 3 个 EXPECT_THROW 用例。
- 回归期望对齐:解析球面 make_sphere(r, su, sv) 面数契约 = su·sv
  (Sphere_1000PlusFaces/5000PlusFaces/Heal_LargeModel/Export_LargeMesh 调整到
  真实契约并保持大模型意图);NURBS 曲率可视化测试容忍离散 H/K 在尖锐顶点
  不满足 H²≥K(判别式钳制退化)。
2026-10-25 16:12:47 +08:00
hm 960d9cb445 chore(repo): 语料统一迁移至根 corpus/(tests/data 停用,不入 git)
测试/探针/演示的目录宏与源码默认路径从 tests/data 切到 CMAKE_SOURCE_DIR/corpus(含 real/realfile/drawing);test_dxf_drawing 的 drawing 语料宏同步。.gitignore 追加 corpus/、io_demo_out/ 与根目录 *.log/*.txt 排查产物。
2026-09-07 22:52:06 +08:00
hm 1a78e8e191 fix: comprehensive test fixes and implementation bugs
Build system: fix VDE_BUILD_TYPE, MinGW big-obj, cross-platform temp dir
Core fixes: Matrix4D inverse, ExactPredicates sign, GJK overflow, VdeFormat weights, VRML/Collada IO
Test fixes: ObjectPool, Transaction paths, /tmp replacement, Matrix4D expectations
Result: 292/295 fast tests pass (99%)
2026-08-04 06:44:53 +08:00
茂之钳 33053a90a2 test: add debug output for STEP import error
Build & Test / build-and-test (push) Has been cancelled
VDE Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
2026-08-02 09:13:40 +08:00
茂之钳 47acc7e4ea fix: use absolute paths + FileExists check for STEP test
Build & Test / build-and-test (push) Has been cancelled
VDE Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
2026-08-02 09:04:46 +08:00
茂之钳 9416e6192b fix: AABB uses min()/max() not size()/volume()
Build & Test / build-and-test (push) Has been cancelled
VDE Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
2026-08-02 09:03:32 +08:00
茂之钳 3cd3ba6075 fix: face_area is member method, StepError no operator<<
Build & Test / build-and-test (push) Has been cancelled
VDE Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
2026-08-02 09:02:54 +08:00
茂之钳 72cdf664f0 fix: use correct import_step API (vector<BrepModel> + step_last_error)
Build & Test / build-and-test (push) Has been cancelled
VDE Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
2026-08-02 09:02:12 +08:00
茂之钳 e2d05090b9 test: add user-supplied STEP file import test
Build & Test / build-and-test (push) Has been cancelled
VDE Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
tests/data/step/test_cube.STEP — real user STEP AP203 file
tests/foundation/test_step_user_files.cpp — 4 tests:
  - ImportTestCube: basic import + bounds validation
  - ImportTestCubeRoundtrip: import→export→import consistency
  - ImportTestCubeTopology: 6 faces, non-zero area, 12+ edges
  - ImportTestCubeAP203: AP203 format detection
2026-08-02 08:55:33 +08:00