kotest-property / io.kotest.property.arbitrary / long

long

fun Arb.Companion.long(min: Long = Long.MIN_VALUE, max: Long = Long.MAX_VALUE): Arb<Long>

Returns an Arb where each value is a randomly chosen Long between min and max. The edgecases are: [Long.MIN_VALUE, Long.MAX_VALUE, 0, 1, -1] with any not in the given bounds filtered out.

fun Arb.Companion.long(range: LongRange = Long.MIN_VALUE..Long.MAX_VALUE): Arb<Long>

Returns an Arb where each value is a randomly chosen Long in the given range. The edgecases are: [Long.MIN_VALUE, Long.MAX_VALUE, 0, 1, -1] with any not in the given range filtered out.