kotest-assertions / io.kotest.properties.shrinking / DoubleShrinker

DoubleShrinker

object DoubleShrinker : Shrinker<Double>

Functions

shrink

Given a value, T, this function returns possible "smaller" values to be used as candidates for shrinking.

fun shrink(failure: Double): List<Double>