(self, kernel)
| 446 | assert s.check() == unknown |
| 447 | |
| 448 | def test_context_manager(self, kernel): |
| 449 | x = Int("x") |
| 450 | s = Solver() |
| 451 | s.add(x > 0) |
| 452 | with s: |
| 453 | s.add(x < 0) |
| 454 | assert s.check() == unsat |
| 455 | # After context exit, back to just x > 0 |
| 456 | assert len(s.assertions()) == 1 |
| 457 | |
| 458 | def test_reset(self, kernel): |
| 459 | s = Solver() |
nothing calls this directly
no test coverage detected