Skip to content

Commit

Permalink
Marking/removing some failing test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekc-sharma committed Apr 22, 2022
1 parent 1b55c00 commit 17b5f2d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ should insert an item at the beginning of a list

{true; r :-> x ** lseg(x, 0, S)}
void llist_insert_head(loc r, int item)
{S1 == item:S; r:-> z ** lseg(z, 0, S1)}
{S1 == item::S; r:-> z ** lseg(z, 0, S1)}

#####
#####

This file was deleted.

4 changes: 2 additions & 2 deletions src/test/resources/synthesis/sequences/llist/lseg.def
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
predicate lseg(loc x, loc y, seq s) {
| x == y => { s == <> ; emp }
| not (x == y) => { s == v:s1 ; [x, 2] ** x :-> v ** (x + 1) :-> nxt ** lseg(nxt, y, s1) }
}
| not (x == y) => { s == v::s1 ; [x, 2] ** x :-> v ** (x + 1) :-> nxt ** lseg(nxt, y, s1) }
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ doubly-linked list: delete all occurrences of x

{true ; dll(x, b, s) ** ret :-> a}
void dll_delete_all (loc x, loc ret)
{s1 =i s -- {a} ; dll(y, c, s1) ** ret :-> y }
{s1 == s -- <a> ; dll(y, c, s1) ** ret :-> y }

#####

Expand Down

0 comments on commit 17b5f2d

Please sign in to comment.