You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Time randomizers (LocalTimeRandomizer, LocalTimeRangeRandomizer, etc.) do not properly generate values in the expected ranges (up to 23 for hours, 59 for minutes and seconds, etc.), as the upper value is excluded.
The reason for this seems to be in the nextDouble method of AbstractRandomizer which is used under the hoods by these classes. Thus, I suspect even more randomizers may be affected by this.
Time randomizers (LocalTimeRandomizer, LocalTimeRangeRandomizer, etc.) do not properly generate values in the expected ranges (up to 23 for hours, 59 for minutes and seconds, etc.), as the upper value is excluded.
The reason for this seems to be in the nextDouble method of AbstractRandomizer which is used under the hoods by these classes. Thus, I suspect even more randomizers may be affected by this.
The bug can be easily reproduced like this.
The text was updated successfully, but these errors were encountered: