summaryrefslogtreecommitdiff
path: root/tests/examples/ex66.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examples/ex66.hs')
-rw-r--r--tests/examples/ex66.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/examples/ex66.hs b/tests/examples/ex66.hs
new file mode 100644
index 0000000..d787cdb
--- /dev/null
+++ b/tests/examples/ex66.hs
@@ -0,0 +1,7 @@
+import Yices.Painless.Language
+
+main = print =<< solve p
+
+p :: Exp Int -> Exp Int -> Exp Int -> Exp Bool
+p x y z = (3 * x) + (6 * y) ==* 1
+