-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Good Morning John,
I'm using autocheck, with great success, and I now want to generate values within a range.
I am testing some date functions and I want to generate years between [1970, 2015] inclusively. I tried the ac::fix() combinator, but that just sets an upper limit on the generated value.
I see how I can use discard_if() to throw away values that don't match, but that feels so wasteful. Additionally, I want to generate days, months and years so I'd throw away a lot of data before I generated a valid tuple of values.
How would you recommend generating a range, and if it doesn't exist in autocheck today, what guidance could you provide to how I should add this feature?
Thank you for your time.
Sincerely,
Jeremy Wright
Metadata
Metadata
Assignees
Labels
No labels