Long

object Long

Long generator configuration.

Properties

Link copied to clipboard

Candidate ranges excluded after min and max are composed.

Link copied to clipboard

Maximum candidate value for generated values. The composed min/max range is checked when candidates are sampled.

Link copied to clipboard

Minimum candidate value for generated values. The composed min/max range is checked when candidates are sampled.

Functions

Link copied to clipboard
context(context: FakeContext)
fun range(): Long

Samples a value from the composed range after applying min, max, and exclusion settings.

Creates settings that fix the candidate range to value and clear configured exclusions.

Creates settings that replace the candidate range endpoints with value and clear configured exclusions.