Fix incorrect range transform in nextUInt/nextULong with range parameter

#KT-25570
This commit is contained in:
Ilya Gorbunov
2018-08-27 03:40:31 +03:00
parent 583c66a2a7
commit 9c412ba436
2 changed files with 4 additions and 2 deletions
@@ -180,6 +180,7 @@ abstract class RandomSmokeTest {
(1u..5u),
(0u..31u),
(0u..UInt.MAX_VALUE - 1u),
(1u..UInt.MAX_VALUE),
(0u..UInt.MAX_VALUE)
)) {
repeat(1000) {
@@ -338,6 +339,7 @@ abstract class RandomSmokeTest {
(1uL..5uL),
(0uL..31uL),
(0uL..(ULong.MAX_VALUE - 1uL)),
(1uL..ULong.MAX_VALUE),
(0uL..ULong.MAX_VALUE)
)) {
repeat(1000) {