Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now we don't need anymore the tricky pointer to show the failed test. Added some few tests too. Also small rename in see_ge() while there. No functional change Closes #1151
- Loading branch information
Showing
2 changed files
with
63 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fa1e342
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.
Is there still a reason for
pos_is_ok()
to returnbool
?fa1e342
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.
@niklasf because it is used in an assert:
assert(pos_is_ok);
Next question may be: why used in an assert if already has asserts inside?
Answer: To compile it out in release build (and do not use #ifdef)