Skip to content

feat(random): add uint32, int_range, and double helpers#67

Open
leno23 wants to merge 1 commit into
nemequ:masterfrom
leno23:feat/random-convenience-functions-11
Open

feat(random): add uint32, int_range, and double helpers#67
leno23 wants to merge 1 commit into
nemequ:masterfrom
leno23:feat/random-convenience-functions-11

Conversation

@leno23
Copy link
Copy Markdown

@leno23 leno23 commented May 30, 2026

Summary

Add convenience wrappers around psnip_random_bytes:

  • psnip_random_uint32
  • psnip_random_int_range (inclusive bounds)
  • psnip_random_double ([0, 1))

Motivation

Fixes #11 — common patterns requested in the issue (similar to µunit helpers).

Test plan

  • Added /random/convenience munit test
  • CI

Made with Cursor

Add convenience wrappers around psnip_random_bytes (nemequ#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.

random module needs convenience functions

1 participant