(Context ctx, Expr<BoolSort> f, Status sat)
| 178 | } |
| 179 | |
| 180 | @SuppressWarnings("unchecked") |
| 181 | Model check(Context ctx, Expr<BoolSort> f, Status sat) throws TestFailedException |
| 182 | { |
| 183 | Solver s = ctx.mkSolver(); |
| 184 | s.add(f); |
| 185 | if (s.check() != sat) |
| 186 | throw new TestFailedException(); |
| 187 | if (sat == Status.SATISFIABLE) |
| 188 | return s.getModel(); |
| 189 | else |
| 190 | return null; |
| 191 | } |
| 192 | |
| 193 | void solveTactical(Context ctx, Tactic t, Goal g, Status sat) |
| 194 | throws TestFailedException |
no test coverage detected