We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf88fd7 commit 65d6a6aCopy full SHA for 65d6a6a
tests/test_z3.py
@@ -1,18 +1,7 @@
1
from z3 import Solver, Bool, sat
2
-import gradio_demo as gd
3
4
-
5
-def test_z3_basic():
+def test_z3_basic_sat():
6
s = Solver()
7
x = Bool("x")
8
s.add(x == True)
9
assert s.check() == sat
10
11
12
-def test_audit_text_paths():
13
- text_sat = "penguin on ice"
14
- text_unsat = "penguin on sand"
15
- out_sat = gd.audit(text_sat)
16
- out_unsat = gd.audit(text_unsat)
17
- assert "Result: sat" in out_sat
18
- assert "Result: unsat" in out_unsat
0 commit comments