Skip to content
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

Use debug_assert() in every Reader function to check preconditions/invariants #23

Open
briansmith opened this issue Jun 21, 2018 · 2 comments

Comments

@briansmith
Copy link
Owner

In particular, at the start and at the end of each function, we should debug_assert() the i <= len invariant holds.

@Dolphindalt
Copy link

#25

If this does not satisfy the issue, let me know. I want to get into open source.

@briansmith
Copy link
Owner Author

I think #28 would make this superfluous because it removes the i member.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants