コード例 #1
0
 @Test
 public void testIsSatisfiable_empty() throws ContradictionException, TimeoutException {
   Formula instance = Formula.newInstanceforSAT(new Formula());
   assertFalse(instance.isSatisfiable());
 }
コード例 #2
0
 @Test
 public void testIsSatisfiable() throws ContradictionException, TimeoutException {
   Formula instance = Formula.newInstanceforSAT(new Var("a").and(new Var("b")));
   assertTrue(instance.isSatisfiable());
 }