I wonder if it should be (1, 2147483562) or something like that (sorry, I have hard time figuring the exact numbers out). I mean, even though the type of the value produced by next is Int, the actual value is defined by the algorithm that operates in subdomain of 32-bit numbers.
https://github.com/typelift/SwiftCheck/blob/9e53d13c02b48080894b8d6763010781c8cfdc3b/Sources/SwiftCheck/Random.swift#L84-L86
I wonder if it should be
(1, 2147483562)
or something like that (sorry, I have hard time figuring the exact numbers out). I mean, even though the type of the value produced bynext
isInt
, the actual value is defined by the algorithm that operates in subdomain of 32-bit numbers.