-
Couldn't load subscription status.
- Fork 1.4k
Closed
Description
The bounded yearMonth generator can fail when the lower bound has a month that has a higher index than the upper bound month.
final def yearMonth(min: YearMonth, max: YearMonth)(implicit trace: Trace): Gen[Any, YearMonth]
// Can fail in Gen.int(min, max) with IllegalArgumentException("invalid bounds")
yearMonth(YearMonth.of(2022, 12), YearMonth.of(2023, 1))Metadata
Metadata
Assignees
Labels
No labels