fpsClockGenerator

fun fpsClockGenerator(frameRate: Double = 60.0, delta: Duration = 2.0.milliseconds): Arb<Duration>(source)

Sane default for an Arb that generates clock ticks.

Generates values around the times specified for the given framerate, with values that can randomly deviate from that average by delta.