Files
cvc5/examples/api/python/pythonic/id.py
2022-04-05 02:49:30 +00:00

13 lines
348 B
Python

from cvc5.pythonic import *
if __name__ == '__main__':
A = Set("A", SetSort(IntSort()))
B = Set("B", SetSort(IntSort()))
C = Set("C", SetSort(IntSort()))
assert A.get_id() != B.get_id()
assert C.get_id() != B.get_id()
assert A.get_id() == A.get_id()
assert B.get_id() == B.get_id()
assert C.get_id() == C.get_id()