summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAina Niemetz <aina.niemetz@gmail.com>2018-10-08 19:44:22 -0700
committerGitHub <noreply@github.com>2018-10-08 19:44:22 -0700
commit0d310d6716d1ab679cd466a2e47e5c0f6cdd8569 (patch)
tree146e3a070038a6d847204c5f4173d9a3bf7b619d /test
parenta1c9b7408ee47ea69ef9866cdac75f839c14bc8d (diff)
BV instantiator: Factor out util functions. (#2604)
Previously, all util functions for the BV instantiator were static functions in theory/quantifiers/cegqi/ceg_bv_instantiator.cpp. For the corresponding unit test, it was therefore required to include this cpp file in order to test these functions. This factors out these functions into a theory/quantifiers/cegqi/ceg_bv_instantiator_utils.(cpp|h). Asan reported errors for the corresponing unit test because of this.
Diffstat (limited to 'test')
-rw-r--r--test/unit/theory/theory_quantifiers_bv_instantiator_white.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/theory/theory_quantifiers_bv_instantiator_white.h b/test/unit/theory/theory_quantifiers_bv_instantiator_white.h
index 018744bd1..5d50490c0 100644
--- a/test/unit/theory/theory_quantifiers_bv_instantiator_white.h
+++ b/test/unit/theory/theory_quantifiers_bv_instantiator_white.h
@@ -19,11 +19,10 @@
#include "smt/smt_engine.h"
#include "smt/smt_engine_scope.h"
#include "theory/bv/theory_bv_utils.h"
+#include "theory/quantifiers/cegqi/ceg_bv_instantiator_utils.h"
#include "theory/rewriter.h"
#include "util/bitvector.h"
-#include "theory/quantifiers/cegqi/ceg_bv_instantiator.cpp"
-
#include <cxxtest/TestSuite.h>
#include <iostream>
#include <vector>
@@ -33,6 +32,7 @@ using namespace CVC4::theory;
using namespace CVC4::theory::bv;
using namespace CVC4::theory::bv::utils;
using namespace CVC4::theory::quantifiers;
+using namespace CVC4::theory::quantifiers::utils;
using namespace CVC4::smt;
class BvInstantiatorWhite : public CxxTest::TestSuite
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback