-
Notifications
You must be signed in to change notification settings - Fork 284
Unit test expr_skeleton and move it to its own file #4843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unit test expr_skeleton and move it to its own file #4843
Conversation
8694d73 to
28a7b27
Compare
94c97af to
9c31050
Compare
allredj
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR failed Diffblue compatibility checks (cbmc commit: 9c31050).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/117126740
Status will be re-evaluated on next push.
Common spurious failures include: the cbmc commit has disappeared in the mean time (e.g. in a force-push); the author is not in the list of contributors (e.g. first-time contributors); compatibility was already broken by an earlier merge.
|
@smowton I've updated the method names |
| SCENARIO("expr skeleton", "[core][goto-symex][symex-assign][expr-skeleton]") | ||
| { | ||
| const symbol_exprt foo{"foo", typet{}}; | ||
| GIVEN("Skeletons `☐`, `☐[index]` and `☐.field1`") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⛏️ Why use the symbol here? Seems strange..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean ☐? It is used in the same way as in the documentation https://github.com/diffblue/cbmc/pull/4843/files#diff-003f21a13603cd3a681d0d0f440e114bR20
Makes it easier to navigate through the code.
Tests the behavior of apply and compose.
9c31050 to
948e9f4
Compare
allredj
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✔️
Passed Diffblue compatibility checks (cbmc commit: 948e9f4).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/117637722
Move the class to its own files and unit test it.