LongProgression

Long progression generator configuration.

Properties

Link copied to clipboard

Candidate bounds excluded after minBound and maxBound are composed.

Link copied to clipboard

Candidate steps excluded after minStep and maxStep are composed.

Link copied to clipboard

Maximum candidate bound for generated ranges and progressions. The composed bound range is checked when candidates are sampled.

Link copied to clipboard

Maximum candidate step for generated progressions. The composed step range is checked when candidates are sampled.

Link copied to clipboard

Minimum candidate bound for generated ranges and progressions. The composed bound range is checked when candidates are sampled.

Link copied to clipboard

Minimum candidate step for generated progressions. The composed step range is checked when candidates are sampled.

Functions

Link copied to clipboard
context(context: FakeContext)
fun bounds(): LongRange

Samples two bounds from the composed candidate range and returns them as an ascending range.

Creates settings that fix generated range bounds to value and clear configured bound exclusions.

Creates settings that replace generated bound endpoints with value and clear configured bound exclusions.

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

Samples a step from the composed step candidates after applying min, max, and exclusion settings.

Creates settings that fix generated progression steps to value and clear configured step exclusions.

Creates settings that replace generated step endpoints with value and clear configured step exclusions.