interface FloatingPointAssertionsCommon
Defines the minimum set of assertion functions and builders applicable to floating points (Float, Double), which an implementation of the domain of Atrium has to provide for any platform.
abstract fun toBeWithErrorTolerance(subjectProvider: SubjectProvider<Float>, expected: Float, tolerance: Float): Assertion abstract fun toBeWithErrorTolerance(subjectProvider: SubjectProvider<Double>, expected: Double, tolerance: Double): Assertion |
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. |