From 06b5f38e17a1275e966e50c2d74274ef4d4d4697 Mon Sep 17 00:00:00 2001 From: "Christopher L. Conway" Date: Fri, 14 May 2010 22:50:13 +0000 Subject: [PATCH] Adding ITE tests --- test/regress/regress0/Makefile.am | 2 ++ test/regress/regress0/ite3.smt2 | 8 ++++++++ test/regress/regress0/ite4.smt2 | 8 ++++++++ 3 files changed, 18 insertions(+) create mode 100644 test/regress/regress0/ite3.smt2 create mode 100644 test/regress/regress0/ite4.smt2 diff --git a/test/regress/regress0/Makefile.am b/test/regress/regress0/Makefile.am index 521fd7feb..58f9c6a4e 100644 --- a/test/regress/regress0/Makefile.am +++ b/test/regress/regress0/Makefile.am @@ -14,6 +14,8 @@ TESTS = \ simple-uf.smt \ ite.smt2 \ ite2.smt2 \ + ite3.smt2 \ + ite4.smt2 \ bug32.cvc \ hole6.cvc \ logops.01.cvc \ diff --git a/test/regress/regress0/ite3.smt2 b/test/regress/regress0/ite3.smt2 new file mode 100644 index 000000000..b3c4f3e84 --- /dev/null +++ b/test/regress/regress0/ite3.smt2 @@ -0,0 +1,8 @@ +(set-logic QF_UF) +(set-info :status unsat) +(declare-sort U 0) +(declare-fun x () U) +(declare-fun y () U) +(declare-fun a () Bool) +(assert (not (= x (ite a (ite a x y) (ite (not a) x y))))) +(check-sat) diff --git a/test/regress/regress0/ite4.smt2 b/test/regress/regress0/ite4.smt2 new file mode 100644 index 000000000..c1c41f4b5 --- /dev/null +++ b/test/regress/regress0/ite4.smt2 @@ -0,0 +1,8 @@ +(set-logic QF_UF) +(set-info :status sat) +(declare-sort U 0) +(declare-fun x () U) +(declare-fun y () U) +(declare-fun a () Bool) +(assert (not (= x (ite a (ite a x y) (ite (not a) y x))))) +(check-sat) -- 2.30.2