doc / ch.tutteli.atrium.domain.builders.creating / FloatingPointAssertionsBuilder

FloatingPointAssertionsBuilder

expect object FloatingPointAssertionsBuilder : FloatingPointAssertions (source)

Delegates inter alia to the implementation of FloatingPointAssertions. In detail, it implements FloatingPointAssertions by delegating to floatingPointAssertions which in turn delegates to the implementation via loadSingleService.

Functions

toBeWithErrorTolerance

fun toBeWithErrorTolerance(plant: AssertionPlant<Float>, expected: Float, tolerance: Float): <ERROR CLASS>
fun toBeWithErrorTolerance(plant: AssertionPlant<Double>, expected: Double, tolerance: Double): <ERROR CLASS>
fun <T : BigDecimal> toBeWithErrorTolerance(plant: AssertionPlant<T>, expected: T, tolerance: T): <ERROR CLASS>