doc / ch.tutteli.atrium.logic.impl / DefaultFloatingPointAssertions / toBeWithErrorTolerance

toBeWithErrorTolerance

fun toBeWithErrorTolerance(container: AssertionContainer<Float>, expected: Float, tolerance: Float): Assertion (source)

Overrides FloatingPointAssertions.toBeWithErrorTolerance


fun toBeWithErrorTolerance(container: AssertionContainer<Double>, expected: Double, tolerance: Double): Assertion (source)

Overrides FloatingPointAssertions.toBeWithErrorTolerance