Skip to content

update random name and data generation in tests#98

Merged
gammazero merged 2 commits into
mainfrom
update-tests
Jul 9, 2026
Merged

update random name and data generation in tests#98
gammazero merged 2 commits into
mainfrom
update-tests

Conversation

@gammazero

Copy link
Copy Markdown
Contributor
  • Update name generation in testutil to generate random names

    • Generate random names with limited random lengths, instead of choosing from large list of words.
    • Include tests for name generation code.
  • Update deterministic data generation to use math/rand/v2

    • Update random generator
    • Remove unnecessary dependency on go-test module

gammazero added 2 commits July 8, 2026 15:15
- Update name generation in testutil to generate random names
  - Generate random names with limited random lengths, instead of choosing from large list of words.
  - Include tests for name generation code.

- Update deterministic data generation to use math/rand/v2
  - Update random generator
  - Remove unnecessary dependency on go-test module
return extensions[index], nil
}

const wordData = `jabberwocky Snark whiffling borogoves mome raths brillig slithy toves outgrabe

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sad, I like this list

@gammazero
gammazero merged commit 3a01dab into main Jul 9, 2026
9 checks passed
@gammazero
gammazero deleted the update-tests branch July 9, 2026 06:47
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.

2 participants