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

toBeWithErrorTolerance

inline fun toBeWithErrorTolerance(subjectProvider: SubjectProvider<Float>, expected: Float, tolerance: Float): Assertion

Overrides FloatingPointAssertionsCommon.toBeWithErrorTolerance


inline fun toBeWithErrorTolerance(subjectProvider: SubjectProvider<Double>, expected: Double, tolerance: Double): Assertion

Overrides FloatingPointAssertionsCommon.toBeWithErrorTolerance


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

Overrides FloatingPointAssertions.toBeWithErrorTolerance