SRI-CSL / yices2

The Yices SMT Solver
https://yices.csl.sri.com/
GNU General Public License v3.0
368 stars 46 forks source link

Add new API coverage test #378

Closed 0152la closed 3 years ago

0152la commented 3 years ago

This test uses QF_LIA instead of the usual QF_NIA, therefore I have removed the check for compilation withmcsat. Let me know if this is wrong, or if the theory should be kept to QF_NIA for these tests.

Additional coverage: api/yices_api.c:yices_arith_geq_atom() terms/term_utils.c:finite_domain_is_nonpos(), exiting via return false term_has_nonpos_finite_domain() arith_term_is_nonpos(), case ITE_SPECIAL

BrunoDutertre commented 3 years ago

That's fine. No need to check for mcsat in this case.