summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2013-05-03 16:32:11 -0400
committerTim King <taking@cs.nyu.edu>2013-05-03 16:32:11 -0400
commit9a490befefedfd40b7abab5080e84fb7c0540f86 (patch)
treed7d73eadd61af32c9cdc08a461198edbc5e38d90 /test
parent4c20ab57d70c4812d75af037e95c371c65418333 (diff)
Fixing compilation of unit tests. These problems were due to splitLemma() being pure virtual.
Diffstat (limited to 'test')
-rw-r--r--test/unit/theory/theory_engine_white.h3
-rw-r--r--test/unit/theory/theory_white.h5
2 files changed, 8 insertions, 0 deletions
diff --git a/test/unit/theory/theory_engine_white.h b/test/unit/theory/theory_engine_white.h
index c9bea1795..4035b85da 100644
--- a/test/unit/theory/theory_engine_white.h
+++ b/test/unit/theory/theory_engine_white.h
@@ -76,6 +76,9 @@ class FakeOutputChannel : public OutputChannel {
void handleUserAttribute( const char* attr, Theory* t ){
Unimplemented();
}
+ LemmaStatus splitLemma(TNode n, bool removable) throw(TypeCheckingExceptionPrivate, AssertionException){
+ Unimplemented();
+ }
};/* class FakeOutputChannel */
template<TheoryId theory>
diff --git a/test/unit/theory/theory_white.h b/test/unit/theory/theory_white.h
index 126f57060..d9df2912b 100644
--- a/test/unit/theory/theory_white.h
+++ b/test/unit/theory/theory_white.h
@@ -76,6 +76,11 @@ public:
return LemmaStatus(Node::null(), 0);
}
+ LemmaStatus splitLemma(TNode n, bool removable) throw (TypeCheckingExceptionPrivate, AssertionException){
+ push(LEMMA, n);
+ return LemmaStatus(Node::null(), 0);
+ }
+
void requirePhase(TNode, bool)
throw(Interrupted, AssertionException) {
Unreachable();
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback