Move `RoundingMode` to `cvc5_types.h` (#8427)
authorAndres Noetzli <andres.noetzli@gmail.com>
Tue, 29 Mar 2022 01:13:46 +0000 (18:13 -0700)
committerGitHub <noreply@github.com>
Tue, 29 Mar 2022 01:13:46 +0000 (01:13 +0000)
commitbf2d64336c2d3cda4db39b6b528c2a3fc7e0f792
tree88c0e6290761458d52f11b038ed2c85ddbf56e0a
parent1fa8c5bd361c1c950127779cc364fa82c25477da
Move `RoundingMode` to `cvc5_types.h` (#8427)

This moves RoundingMode to cvc5_types.h and switches to using the
auto-generated enum bindings. It also fixes the Java-bindings generator
for enums (certain parts were previously hardcoded for Kind) and
extends the unit tests for Solver::mkRoundingMode() to actually check
the value being created.
13 files changed:
examples/api/python/floating_point.py
src/api/cpp/cvc5.cpp
src/api/cpp/cvc5.h
src/api/cpp/cvc5_types.h
src/api/java/CMakeLists.txt
src/api/java/genenums.py.in
src/api/java/io/github/cvc5/api/RoundingMode.java [deleted file]
src/api/python/cvc5.pxd
src/api/python/cvc5.pxi
src/api/python/cvc5_python_base.pyx
test/unit/api/cpp/solver_black.cpp
test/unit/api/java/SolverTest.java
test/unit/api/python/test_solver.py