Adding the c wrapper for CSolver
[satune.git] / src / Test / elemequalsattest.cc
index aeab4a51f434a322c3041d84835ba0a277a6928b..e041cb0a1dd2155a689cdcb69d070e800657f518 100644 (file)
@@ -24,6 +24,7 @@ int main(int numargs, char **argv) {
        Element *inputs[] = {e1, e2};
        BooleanEdge b = solver->applyPredicate(equals, inputs, 2);
        solver->addConstraint(b);
+       solver->serialize();
 
        if (solver->solve() == 1)
                printf("e1=%" PRIu64 " e2=%" PRIu64 "\n", solver->getElementValue(e1), solver->getElementValue(e2));