You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
388 B
9 lines
388 B
property ShouldUseEntries
|
|
nondet (start iteratingKeys)
|
|
start -> start: *
|
|
start -> gotKeys: "Map.keySet"(M, S) => m := M; s := S
|
|
gotKeys -> iteratingKeys: "Set.iterator"(S, I) when S == s => i := I
|
|
iteratingKeys -> iteratingKeys: *
|
|
iteratingKeys -> gotOneKey: "Iterator.next"(I, K) when I == i => k := K
|
|
gotOneKey -> error: ".*Map.get"(M, K, IgnoreRet) when M == m && K == k
|