summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-07-28 11:03:33 -0500
committerGitHub <noreply@github.com>2020-07-28 11:03:33 -0500
commitc38f35164adc5ab255803765a568ef820fa8f3b2 (patch)
tree6cbd4b21e8e9ff364b5b2f14467cd986ea69acf2 /test
parentb90cfb462bde3e75c07bb14e2393ee8e4b4f4d42 (diff)
Use lemma property enum for OutputChannel::lemma (#4755)
There are 3 Boolean flags for OutputChannel::lemma, and plans to add another for relevance. This makes them into a enum.
Diffstat (limited to 'test')
-rw-r--r--test/unit/theory/theory_engine_white.h6
-rw-r--r--test/unit/theory/theory_white.h6
2 files changed, 8 insertions, 4 deletions
diff --git a/test/unit/theory/theory_engine_white.h b/test/unit/theory/theory_engine_white.h
index 5a16fdc20..fbcfbdb37 100644
--- a/test/unit/theory/theory_engine_white.h
+++ b/test/unit/theory/theory_engine_white.h
@@ -60,8 +60,10 @@ class FakeOutputChannel : public OutputChannel {
Unimplemented();
}
bool propagate(TNode n) override { Unimplemented(); }
- LemmaStatus lemma(TNode n, ProofRule rule, bool removable, bool preprocess,
- bool sendAtoms) override {
+ LemmaStatus lemma(TNode n,
+ ProofRule rule,
+ LemmaProperty p = LemmaProperty::NONE) override
+ {
Unimplemented();
}
void requirePhase(TNode, bool) override { Unimplemented(); }
diff --git a/test/unit/theory/theory_white.h b/test/unit/theory/theory_white.h
index 0ff4e918b..5ed7afbe1 100644
--- a/test/unit/theory/theory_white.h
+++ b/test/unit/theory/theory_white.h
@@ -58,8 +58,10 @@ class TestOutputChannel : public OutputChannel {
return true;
}
- LemmaStatus lemma(TNode n, ProofRule rule, bool removable = false,
- bool preprocess = false, bool sendAtoms = false) override {
+ LemmaStatus lemma(TNode n,
+ ProofRule rule,
+ LemmaProperty p = LemmaProperty::NONE) override
+ {
push(LEMMA, n);
return LemmaStatus(Node::null(), 0);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback