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

ommx::random submodule, proptest::Arbitrary-based random object generation #330

Merged
merged 22 commits into from
Feb 21, 2025

Conversation

termoshtt
Copy link
Member

@termoshtt termoshtt commented Feb 20, 2025

For benchmark input in #329

Changes

  • Create structs represents the input of Arbitrary::arbitrary_with, e.g. LinearParameters and InstanceParameters
  • Move impl Arbitrary to src/random/*.rs from src/convert/*.rs
  • Make arbitrary_xxx helper functions public under ommx::random::
  • New random and random_deterministic functions to create e.g. Linear from LinearParameters

@termoshtt termoshtt self-assigned this Feb 20, 2025
@termoshtt termoshtt changed the title rand 0.9, Distribution for Linear and others proptest::Arbitrary-based random object generation Feb 21, 2025
@termoshtt termoshtt changed the title proptest::Arbitrary-based random object generation ommx::random submodule, proptest::Arbitrary-based random object generation Feb 21, 2025
@termoshtt termoshtt added the rust Changes in Rust SDK label Feb 21, 2025
@termoshtt termoshtt marked this pull request as ready for review February 21, 2025 12:44
@termoshtt termoshtt merged commit 5ed6788 into main Feb 21, 2025
32 checks passed
@termoshtt termoshtt deleted the rand branch February 21, 2025 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rust Changes in Rust SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant