summaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/prop/cnf_stream_white.h8
-rw-r--r--test/unit/theory/logic_info_white.h7
2 files changed, 12 insertions, 3 deletions
diff --git a/test/unit/prop/cnf_stream_white.h b/test/unit/prop/cnf_stream_white.h
index bf28e5996..98417c492 100644
--- a/test/unit/prop/cnf_stream_white.h
+++ b/test/unit/prop/cnf_stream_white.h
@@ -69,6 +69,14 @@ public:
return ClauseIdUndef;
}
+ ClauseId addXorClause(SatClause& clause, bool rhs, bool removable) {
+ d_addClauseCalled = true;
+ return ClauseIdUndef;
+ }
+
+ bool nativeXor() { return false; }
+
+
void reset() {
d_addClauseCalled = false;
}
diff --git a/test/unit/theory/logic_info_white.h b/test/unit/theory/logic_info_white.h
index 6332563ed..3baa43dff 100644
--- a/test/unit/theory/logic_info_white.h
+++ b/test/unit/theory/logic_info_white.h
@@ -514,13 +514,13 @@ public:
info.arithOnlyLinear();
info.disableIntegers();
info.lock();
- TS_ASSERT_EQUALS( info.getLogicString(), "AUFBVFPDTLRA" );
+ TS_ASSERT_EQUALS( info.getLogicString(), "AUFBVFPDTLRASEP" );
info = info.getUnlockedCopy();
TS_ASSERT( !info.isLocked() );
info.disableQuantifiers();
info.lock();
- TS_ASSERT_EQUALS( info.getLogicString(), "QF_AUFBVFPDTLRA" );
+ TS_ASSERT_EQUALS( info.getLogicString(), "QF_AUFBVFPDTLRASEP" );
info = info.getUnlockedCopy();
TS_ASSERT( !info.isLocked() );
@@ -529,13 +529,14 @@ public:
info.enableIntegers();
info.disableReals();
info.lock();
- TS_ASSERT_EQUALS( info.getLogicString(), "QF_AUFFPLIA" );
+ TS_ASSERT_EQUALS( info.getLogicString(), "QF_AUFFPLIASEP" );
info = info.getUnlockedCopy();
TS_ASSERT( !info.isLocked() );
info.disableTheory(THEORY_ARITH);
info.disableTheory(THEORY_UF);
info.disableTheory(THEORY_FP);
+ info.disableTheory(THEORY_SEP);
info.lock();
TS_ASSERT_EQUALS( info.getLogicString(), "QF_AX" );
TS_ASSERT( info.isPure( THEORY_ARRAY ) );
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback