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

chore: Add UUID tests and fix version 5 bits #1362

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

shlokkhemani
Copy link

What does this PR do?

This PR adds comprehensive test coverage for UUID generation and fixes the version bits to properly identify as version 5 UUID.

Relates to:

N/A

Risks

Minimal - Changes are isolated to UUID tests and implementation details

Background

Adding test coverage for UUID generation and ensuring proper version 5 UUID implementation according to RFC specifications.

What kind of change is this?

  • Adding test coverage
  • Fixing UUID version bits implementation

Documentation changes needed?

No

Testing

Added comprehensive test suite covering:

  • UUID format validation
  • Version and variant bits verification
  • Input handling (numbers, Unicode, empty strings)
  • Consistent UUID generation
  • Encoding edge cases

@shlokkhemani shlokkhemani changed the base branch from main to develop December 22, 2024 08: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