SetUnion creates an array expression.
(self)
| 1998 | assert _try_prove(claim) |
| 1999 | |
| 2000 | def test_set_union(self): |
| 2001 | """SetUnion creates an array expression.""" |
| 2002 | |
| 2003 | a = SetAdd(EmptySet(IntSort()), IntVal(1)) |
| 2004 | b = SetAdd(EmptySet(IntSort()), IntVal(2)) |
| 2005 | u = SetUnion(a, b) |
| 2006 | assert isinstance(u, ExprRef) |
| 2007 | |
| 2008 | def test_set_intersect(self): |
| 2009 | """SetIntersect creates an array expression.""" |