mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
test stub
This commit is contained in:
parent
136e819cb9
commit
40f794c5b4
3 changed files with 25 additions and 1 deletions
|
@ -1,8 +1,27 @@
|
|||
#include "math/polysat/slicing.h"
|
||||
#include "math/polysat/solver.h"
|
||||
|
||||
namespace polysat {
|
||||
|
||||
struct solver_scope_slicing {
|
||||
reslimit lim;
|
||||
};
|
||||
|
||||
class scoped_solver_slicing : public solver_scope_slicing, public solver {
|
||||
public:
|
||||
scoped_solver_slicing(): solver(lim) {}
|
||||
slicing& sl() { return m_slicing; }
|
||||
};
|
||||
|
||||
class test_slicing {
|
||||
public:
|
||||
|
||||
static void test1() {
|
||||
std::cout << __func__ << "\n";
|
||||
scoped_solver_slicing s;
|
||||
slicing& sl = s.sl();
|
||||
pvar x = s.add_var(8);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
@ -11,5 +30,6 @@ namespace polysat {
|
|||
|
||||
void tst_slicing() {
|
||||
using namespace polysat;
|
||||
test_slicing::test1();
|
||||
std::cout << "ok\n";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue