kotest-assertions-core / io.kotest.matchers.floats / FloatToleranceMatcher

FloatToleranceMatcher

class FloatToleranceMatcher : Matcher<Float>

Constructors

<init>

FloatToleranceMatcher(expected: Float, tolerance: Float)

Functions

plusOrMinus

infix fun plusOrMinus(tolerance: Float): FloatToleranceMatcher

test

fun test(value: Float): MatcherResult