-
Notifications
You must be signed in to change notification settings - Fork 157
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
Generate built-in Range
#621
Comments
Related: there's also Interval |
Ah, shoot, didn't see that one. Maybe that would be ok, too. |
Aha, found everything I needed. Thx for this! 👍 |
Maybe an idea to create an extra generator that generate the built-in |
Yeah I think that makes sense. Or even extract the code and parametrize the contructor, could be slightly faster without creating an intermediate type. For standard types like |
Great! Happy to pick this up, but the supported frameworks on the main project are still not in the range where the |
Hi! 👋
Was thinking of adding a built-in generator of the
System.Range
struct, as this would expand the default generator functionality.Am currently using this:
To make sure that the minimum is always lower than the maximum. But, with some additional options, one could include
Range.StartAt
andRange.EndAt
too.Just a suggestion when using the awesome FsCheck library 😉 .
The text was updated successfully, but these errors were encountered: