@@ -134,8 +134,6 @@ private SolverException handleSolverException(SolverException e) throws SolverEx
134
134
135
135
@ Test
136
136
public void testLIAForallArrayConjunctUnsat () throws SolverException , InterruptedException {
137
- assume ().that (solverUnderTest ).isNotEqualTo (Solvers .CVC4 );
138
-
139
137
// (forall x . b[x] = 0) AND (b[123] = 1) is UNSAT
140
138
requireIntegers ();
141
139
@@ -154,8 +152,6 @@ public void testBVForallArrayConjunctUnsat() throws SolverException, Interrupted
154
152
assume ().that (solverUnderTest ).isNotEqualTo (Solvers .PRINCESS );
155
153
// Boolector quants need to be reworked
156
154
assume ().that (solverUnderTest ).isNotEqualTo (Solvers .BOOLECTOR );
157
- // CVC4 can solve less quants with String support enabled, TODO bug?
158
- assume ().that (solverUnderTest ).isNotEqualTo (Solvers .CVC4 );
159
155
160
156
BooleanFormula f =
161
157
bmgr .and (
@@ -346,8 +342,6 @@ public void testBVExistsArrayConjunct1() throws SolverException, InterruptedExce
346
342
347
343
@ Test
348
344
public void testLIAExistsArrayConjunct2 () throws SolverException , InterruptedException {
349
- assume ().that (solverUnderTest ).isNotEqualTo (Solvers .CVC4 );
350
-
351
345
// (exists x . b[x] = 1) AND (forall x . b[x] = 0) is UNSAT
352
346
353
347
requireIntegers ();
@@ -358,8 +352,6 @@ public void testLIAExistsArrayConjunct2() throws SolverException, InterruptedExc
358
352
359
353
@ Test
360
354
public void testBVExistsArrayConjunct2 () throws SolverException , InterruptedException {
361
- assume ().that (solverUnderTest ).isNotEqualTo (Solvers .CVC4 );
362
-
363
355
// (exists x . b[x] = 1) AND (forall x . b[x] = 0) is UNSAT
364
356
requireBitvectors ();
365
357
// Princess does not support bitvectors in arrays
@@ -795,8 +787,6 @@ public void checkBVQuantifierElimination() throws InterruptedException, SolverEx
795
787
796
788
@ Test
797
789
public void testExistsRestrictedRange () throws SolverException , InterruptedException {
798
- assume ().that (solverUnderTest ).isNotEqualTo (Solvers .CVC4 );
799
-
800
790
ArrayFormula <IntegerFormula , IntegerFormula > b =
801
791
amgr .makeArray ("b" , FormulaType .IntegerType , FormulaType .IntegerType );
802
792
BooleanFormula bAtXEq1 = imgr .equal (amgr .select (b , x ), imgr .makeNumber (1 ));
@@ -978,13 +968,6 @@ public void testForallBasicStringArray() throws SolverException, InterruptedExce
978
968
requireStrings ();
979
969
requireIntegers ();
980
970
981
- // CVC4 returns null or UNKNOWN, however it does not seem to have a problem with
982
- // declaring/starting the solving process!
983
- assume ()
984
- .withMessage ("Solver %s does not support the complete theory of quantifiers" , solverToUse ())
985
- .that (solverToUse ())
986
- .isNotEqualTo (Solvers .CVC4 );
987
-
988
971
// forall var (var = select(store(arr, 2, "bla"), 2)
989
972
IntegerFormula two = imgr .makeNumber (2 );
990
973
StringFormula string = smgr .makeString ("bla" );
0 commit comments