doc / ch.tutteli.atrium.logic / FloatingPointAssertions

FloatingPointAssertions

interface FloatingPointAssertions

Collection of assertion functions and builders which are applicable to subjects with a floating point number like type (currently Float and Double).

Functions

toBeWithErrorTolerance

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

Inheritors

DefaultFloatingPointAssertions

class DefaultFloatingPointAssertions : FloatingPointAssertions