Skip to content

Commit

Permalink
add horn versions of map/str tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ranjit Jhala committed Sep 28, 2023
1 parent 19c1952 commit b40bfc4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/horn/pos/maps00.smt2
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@
(forall ((v Int) (v == (Map_select m1 100)))
((v == 0))
)
(forall ((m2 (Map_t Int Int)) (m2 == (Map_store (Map_store m1 10 1) 20 2)))
(and
(forall ((v Int) (v == (Map_select m2 10)))
((v == 1))
)
(forall ((v Int) (v == (Map_select m2 20)))
((v == 2))
)
(forall ((v Int) (v == (Map_select m2 30)))
((v == 0))
)
)
)
)
)
)

0 comments on commit b40bfc4

Please sign in to comment.