We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f520e9e commit aac7993Copy full SHA for aac7993
unit/solvers/smt2_incremental/smt_to_smt2_string.cpp
@@ -2,6 +2,7 @@
2
3
#include <util/mp_arith.h>
4
5
+#include <solvers/smt2_incremental/smt_bit_vector_theory.h>
6
#include <solvers/smt2_incremental/smt_commands.h>
7
#include <solvers/smt2_incremental/smt_core_theory.h>
8
#include <solvers/smt2_incremental/smt_logics.h>
@@ -29,6 +30,15 @@ TEST_CASE(
29
30
CHECK(smt_to_smt2_string(smt_bit_vector_constant_termt{0, 8}) == "(_ bv0 8)");
31
}
32
33
+TEST_CASE(
34
+ "Test smt_bit_vector extract to string conversion",
35
+ "[core][smt2_incremental]")
36
+{
37
+ CHECK(
38
+ smt_to_smt2_string(smt_bit_vector_theoryt::extract(7, 3)(
39
+ smt_bit_vector_constant_termt{0, 8})) == "((_ |extract| 7 3) (_ bv0 8))");
40
+}
41
+
42
TEST_CASE(
43
"Test smt_bool_literal_termt to string conversion",
44
"[core][smt2_incremental]")
0 commit comments