]> OCCT Git - occt.git/commit
Testing - Add unit tests for PLib functionality (#705)
authorPasukhin Dmitry <dpasukhi@opencascade.com>
Sun, 7 Sep 2025 18:17:13 +0000 (19:17 +0100)
committerGitHub <noreply@github.com>
Sun, 7 Sep 2025 18:17:13 +0000 (19:17 +0100)
commit7fdd2b62f9566a1e484b2fd59ba8cccc43bc8647
treed6bf3e3415a841c0615ef23f8c0451c37b2bdd2f
parent80ce783ca2214e8a7028e882bb569bbb189218bf
Testing - Add unit tests for PLib functionality (#705)

- Introduced comprehensive unit tests for the Jacobi polynomial implementation in PLib, covering constructors, edge cases, Gauss integration points, weights, and basis function evaluations.
- Added tests for basic utility functions in PLib, including pole conversion and binomial coefficient calculations.
- Implemented checks for Hermite interpolation and polynomial evaluation with derivatives.
- Enhanced error handling and edge case testing for small and large coefficients.
- Initialised MaxError in PLib_DoubleJacobiPolynomial to ensure consistent behaviour during degree reduction.
src/FoundationClasses/TKMath/GTests/FILES.cmake
src/FoundationClasses/TKMath/GTests/PLib_DoubleJacobiPolynomial_Test.cxx [new file with mode: 0644]
src/FoundationClasses/TKMath/GTests/PLib_HermitJacobi_Test.cxx [new file with mode: 0644]
src/FoundationClasses/TKMath/GTests/PLib_JacobiPolynomial_Test.cxx [new file with mode: 0644]
src/FoundationClasses/TKMath/GTests/PLib_Test.cxx [new file with mode: 0644]
src/FoundationClasses/TKMath/PLib/PLib_DoubleJacobiPolynomial.cxx