Skip to content

Suiteopensavvy.prepared.suite.random

Package-level declarations

Types

Random

class Random

Random control helper. See random.

Properties

Random

@get:
JvmName
(name = "getKotlinRandom")val TestDsl.Random: Random

See random.

random

Random generator control center.

Functions

nextBits

suspend fun Random.nextBits(bitCount: Int): Int

Generates random bits.

nextBoolean

suspend fun Random.nextBoolean(): Boolean

Generates a random boolean.

nextDouble

suspend fun Random.nextDouble(): Double

Generates a random double.

suspend fun Random.nextDouble(from: Double, until: Double): Double

Generates a random double.

nextFloat

suspend fun Random.nextFloat(): Float

Generates a random float.

nextInt

suspend fun Random.nextInt(): Int

Generates a random integer.

suspend fun Random.nextInt(from: Int, until: Int): Int

Generates a random integer.

nextLong

suspend fun Random.nextLong(): Long

Generates a random integer.

suspend fun Random.nextLong(from: Long, until: Long): Long

Generates a random integer.

randomBits

Provider for random bits.

randomBoolean

Provider for a random boolean.

randomDouble

Provider for a random double.

Provider for a random double.

randomFloat

Provider for a random float.

randomInt

Provider for a random integer.

fun randomInt(from: Int, until: Int): PreparedProvider<Int>

Provider for a random integer.

randomLong

Provider for a random integer.

fun randomLong(from: Long, until: Long): PreparedProvider<Long>

Provider for a random integer.