doc / ch.tutteli.atrium.translations / DescriptionFloatingPointExpectation

DescriptionFloatingPointExpectation

enum class DescriptionFloatingPointExpectation : StringBasedTranslatable (source)

Contains the DescriptiveAssertion.descriptions of the assertion functions which are applicable to Float, Double and maybe other platform specific floating point types (such as BigDecimal in JVM).

Enum Values

TO_EQUAL_WITH_ERROR_TOLERANCE

FAILURE_DUE_TO_FLOATING_POINT_NUMBER

TO_EQUAL_WITH_ERROR_TOLERANCE_EXPLAINED

Properties

value

val value: String

The default representation of this Translatable.

Inherited Functions

getDefault

open fun getDefault(): String

Returns the default representation of this Translatable which is value.