summaryrefslogtreecommitdiff
path: root/test/regress/regress1/bags/fuzzy1.smt2
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress1/bags/fuzzy1.smt2')
-rw-r--r--test/regress/regress1/bags/fuzzy1.smt210
1 files changed, 10 insertions, 0 deletions
diff --git a/test/regress/regress1/bags/fuzzy1.smt2 b/test/regress/regress1/bags/fuzzy1.smt2
new file mode 100644
index 000000000..f9fee0ec4
--- /dev/null
+++ b/test/regress/regress1/bags/fuzzy1.smt2
@@ -0,0 +1,10 @@
+(set-logic ALL)
+(set-info :status sat)
+(declare-fun a () (Bag (Tuple Int Int)))
+(declare-fun b () (Bag (Tuple Int Int)))
+(declare-fun c () Int) ; c here is zero
+(assert
+ (and
+ (= b (difference_subtract b a)) ; b is empty
+ (= a (bag (tuple c 0) 1)))) ; a = {|(<0, 0>, 1)|}
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback