Skip to content

variable-length-quantity: add more test cases #2576

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

Merged
merged 1 commit into from
Jun 28, 2025

Conversation

ErikSchierboom
Copy link
Member

The existing test cases are all either:

  • Ending or beginning with a 1
  • All ones or all zeros

This could lead to faulty implementations

@ErikSchierboom ErikSchierboom force-pushed the additional-variable-length-quantity-test-cases branch 2 times, most recently from 5f3fc22 to 54c38f6 Compare June 26, 2025 17:48
The existing test cases are all either:

- Ending or beginning with a 1
- All ones or all zeros

This could lead to faulty implementations
@ErikSchierboom ErikSchierboom force-pushed the additional-variable-length-quantity-test-cases branch from 54c38f6 to ed0915e Compare June 26, 2025 17:49
@ErikSchierboom
Copy link
Member Author

I was unsure what to call these new test cases. Suggestions are more than welcome

@glennj
Copy link
Contributor

glennj commented Jun 27, 2025

The test descriptions seem reasonable to me.

@ErikSchierboom ErikSchierboom merged commit 9f4f82c into main Jun 28, 2025
7 checks passed
@ErikSchierboom ErikSchierboom deleted the additional-variable-length-quantity-test-cases branch June 28, 2025 01:11
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

Successfully merging this pull request may close these issues.

4 participants