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

test: Add comprehensive tests for U256 operations #4220

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MozirDmitriy
Copy link

Added more thorough test coverage for the following U256 operations:

  • from_u64: Added tests for max value, zero, and power of 2
  • shl (shift left): Added tests for word boundary shifts and multi-word shifts
  • shr (shift right): Added tests for word boundary shifts and multi-word shifts

This addresses several TODO comments in the code and improves test coverage for these critical operations.

Added more thorough test coverage for the following U256 operations:
- from_u64: Added tests for max value, zero, and power of 2
- shl (shift left): Added tests for word boundary shifts and multi-word shifts
- shr (shift right): Added tests for word boundary shifts and multi-word shifts

This addresses several TODO comments in the code and improves test coverage
for these critical operations.
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.

1 participant