]> OCCT Git - occt.git/commit
Testing - Fix GTests for TKMath in Debug (#706)
authorPasukhin Dmitry <dpasukhi@opencascade.com>
Sun, 7 Sep 2025 18:17:58 +0000 (19:17 +0100)
committerGitHub <noreply@github.com>
Sun, 7 Sep 2025 18:17:58 +0000 (19:17 +0100)
commitb07f0ca82f6d6b1d29e8319906791c7615cf1d6d
treecac88977733d794450d11f83f6162e20abd26646
parent7fdd2b62f9566a1e484b2fd59ba8cccc43bc8647
Testing - Fix GTests for TKMath in Debug (#706)

- Relaxed mathematical tolerances from extremely tight values (1.0e-15) to more reasonable ones (1.0e-10/1.0e-12) for debug mode compatibility
- Increased iteration limits to allow algorithms more time to converge in debug builds
- Added exception handling with EXPECT_NO_THROW to prevent test crashes in debug mode
src/FoundationClasses/TKMath/GTests/math_BFGS_Test.cxx
src/FoundationClasses/TKMath/GTests/math_FunctionRoot_Test.cxx