atrium-domain-robstoll-jvm / ch.tutteli.atrium.domain.robstoll.creating / FloatingPointAssertionsImpl

FloatingPointAssertionsImpl

class FloatingPointAssertionsImpl : FloatingPointAssertions

Constructors

<init>

FloatingPointAssertionsImpl()

Functions

toBeWithErrorTolerance

fun toBeWithErrorTolerance(subjectProvider: SubjectProvider<Float>, expected: Float, tolerance: Float): Assertion
fun toBeWithErrorTolerance(subjectProvider: SubjectProvider<Double>, expected: Double, tolerance: Double): Assertion
fun <T : BigDecimal> toBeWithErrorTolerance(subjectProvider: SubjectProvider<T>, expected: T, tolerance: T): Assertion