mirror of
https://github.com/Z3Prover/z3
synced 2025-11-05 22:06:03 +00:00
Add comprehensive test coverage for math/lp and math/polynomial modules (#7877)
* Initial plan * Add comprehensive test coverage for math/lp and math/polynomial modules Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> * Finalize test coverage improvements with corrected implementations Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> * Fix compilation errors in test files - Fix algebraic_numbers.cpp: Simplified tests to use basic algebraic operations without polynomial manager dependencies - Fix polynomial_factorization.cpp: Corrected upolynomial::factors usage and API calls - Fix nla_intervals.cpp: Changed 'solver' to 'nla::core' and fixed lar_solver constructor - Fix monomial_bounds.cpp: Updated class names and method calls to match current NLA API These changes address the scoped_numeral compilation errors and other API mismatches identified in the build. Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> * Fix monomial bounds test assertions to use consistent values Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
6e767795db
commit
41491d79be
8 changed files with 992 additions and 0 deletions
|
|
@ -210,8 +210,13 @@ int main(int argc, char ** argv) {
|
|||
TST(smt2print_parse);
|
||||
TST(substitution);
|
||||
TST(polynomial);
|
||||
TST(polynomial_factorization);
|
||||
TST(upolynomial);
|
||||
TST(algebraic);
|
||||
TST(algebraic_numbers);
|
||||
TST(monomial_bounds);
|
||||
TST(nla_intervals);
|
||||
TST(horner);
|
||||
TST(prime_generator);
|
||||
TST(permutation);
|
||||
TST(nlsat);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue