diff options
author | Morgan Deters <mdeters@cs.nyu.edu> | 2014-02-17 18:59:39 -0500 |
---|---|---|
committer | Morgan Deters <mdeters@cs.nyu.edu> | 2014-03-04 07:56:20 -0500 |
commit | ed87e0c1ccb0cb93cdedf5229c6a2b47af77743c (patch) | |
tree | b7c0efe878b82e6aff545b1d2fd52a02120f5813 /test/unit | |
parent | 08294c3914e4e87f3c5c1eda60e6ea259b789f55 (diff) |
Don't theory-preprocess under quantifiers; but DO theory-preprocess lemmas (resolves bug #548).
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/theory/theory_engine_white.h | 2 | ||||
-rw-r--r-- | test/unit/theory/theory_white.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/theory/theory_engine_white.h b/test/unit/theory/theory_engine_white.h index 803b24527..e32e49801 100644 --- a/test/unit/theory/theory_engine_white.h +++ b/test/unit/theory/theory_engine_white.h @@ -58,7 +58,7 @@ class FakeOutputChannel : public OutputChannel { void propagateAsDecision(TNode n) throw(AssertionException) { Unimplemented(); } - LemmaStatus lemma(TNode n, bool removable) throw(AssertionException) { + LemmaStatus lemma(TNode n, bool removable, bool preprocess) throw(AssertionException) { Unimplemented(); } void requirePhase(TNode, bool) throw(AssertionException) { diff --git a/test/unit/theory/theory_white.h b/test/unit/theory/theory_white.h index e2dfcc464..3259381ad 100644 --- a/test/unit/theory/theory_white.h +++ b/test/unit/theory/theory_white.h @@ -70,7 +70,7 @@ public: // ignore } - LemmaStatus lemma(TNode n, bool removable) + LemmaStatus lemma(TNode n, bool removable = false, bool preprocess = false) throw(AssertionException) { push(LEMMA, n); return LemmaStatus(Node::null(), 0); @@ -301,7 +301,7 @@ public: void testOutputChannel() { Node n = atom0.orNode(atom1); - d_outputChannel.lemma(n, false); + d_outputChannel.lemma(n); d_outputChannel.split(atom0); Node s = atom0.orNode(atom0.notNode()); TS_ASSERT_EQUALS(d_outputChannel.d_callHistory.size(), 2u); |