expect interface FloatingPointAssertions : FloatingPointAssertionsCommon
Defines the minimum set of assertion functions and builders applicable to floating points, which an implementation of the domain of Atrium has to provide.
An actual
or in other words platform specific interface might add further methods.
abstract fun <T : BigDecimal> toBeWithErrorTolerance(subjectProvider: SubjectProvider<T>, expected: T, tolerance: T): Assertion |
abstract fun toBeWithErrorTolerance(subjectProvider: SubjectProvider<Float>, expected: Float, tolerance: Float): Assertion abstract fun toBeWithErrorTolerance(subjectProvider: SubjectProvider<Double>, expected: Double, tolerance: Double): Assertion |
expect object FloatingPointAssertionsBuilder : FloatingPointAssertions
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. |