4849505152535455565758
{ Smt smt = new Smt(); smt.loadData("(define x::int)\n(assert (> x 1))"); Assert.assertTrue(smt.check()); smt.finalize(); smt.finalize(); } /** Push/pop. */ @Test
4950515253545556575859
Smt smt = new Smt(); smt.loadData("(define x::int)\n(assert (> x 1))"); Assert.assertTrue(smt.check()); smt.finalize(); smt.finalize(); } /** Push/pop. */ @Test public void testYices2()
6566676869707172737475
smt.pushContext(); smt.loadData("(assert (< x 0))"); Assert.assertFalse(smt.check()); smt.popContext(); Assert.assertTrue(smt.check()); smt.finalize(); } /** Multiple contexts. */ @Test public void testYices3()