doc / ch.tutteli.atrium.logic / FloatingPointJvmAssertions

FloatingPointJvmAssertions

interface FloatingPointJvmAssertions

Collection of assertion functions and builders which are applicable to floating point number like types which are specific to the JVM platform (currently only for BigDecimal).

Functions

toBeWithErrorTolerance

abstract fun <T : BigDecimal> toBeWithErrorTolerance(container: AssertionContainer<T>, expected: BigDecimal, tolerance: BigDecimal): Assertion

Inheritors

DefaultFloatingPointJvmAssertions

class DefaultFloatingPointJvmAssertions : FloatingPointJvmAssertions