3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 17:15:31 +00:00

test stub

This commit is contained in:
Jakob Rath 2023-06-15 11:53:06 +02:00
parent 136e819cb9
commit 40f794c5b4
3 changed files with 25 additions and 1 deletions

View file

@ -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";
}