Skip to content

Commit

Permalink
cbmc: better set.find_range test
Browse files Browse the repository at this point in the history
  • Loading branch information
rurban committed Feb 21, 2024
1 parent 3b7df3a commit d314c08
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/verify/set-1.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ int main()
set_int_it pos = set_int_begin(&a);
set_int_find_range(&pos, a1);
#ifdef CBMC
pos->end = nondet_int();
pos->begin = nondet_uint();
pos->end = nondet_uint();
_CPROVER_assume (pos->begin <= pos->end);
#endif
set_int_find_range(&pos, a1);
set_int_erase_it(&pos);
Expand Down

0 comments on commit d314c08

Please sign in to comment.