diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-11-25 23:03:11 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-25 23:03:11 -0600 |
commit | c41a2e9be2422a211b9687833c97ba37485cd946 (patch) | |
tree | 6e7f88a41d6bbb2581762de203f66086fe16ed49 /test/unit/prop | |
parent | d0c352ec04846353d630073e78e5b2fea92133c2 (diff) |
Fully decouple SmtEngine and the Expr layer (#5532)
This removes the remaining dependencies of SmtEngine on the Expr layer. It now takes a NodeManager instead of a ExprManager.
Diffstat (limited to 'test/unit/prop')
-rw-r--r-- | test/unit/prop/cnf_stream_white.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/prop/cnf_stream_white.h b/test/unit/prop/cnf_stream_white.h index ae79e1517..495097a79 100644 --- a/test/unit/prop/cnf_stream_white.h +++ b/test/unit/prop/cnf_stream_white.h @@ -131,9 +131,9 @@ class CnfStreamWhite : public CxxTest::TestSuite { void setUp() override { d_exprManager = new ExprManager(); - d_smt = new SmtEngine(d_exprManager); - d_smt->d_logic.lock(); d_nodeManager = NodeManager::fromExprManager(d_exprManager); + d_smt = new SmtEngine(d_nodeManager); + d_smt->d_logic.lock(); d_scope = new SmtScope(d_smt); // Notice that this unit test uses the theory engine of a created SMT |