doc / ch.tutteli.atrium.api.infix.en_GB / isNotEqualIncludingScale

isNotEqualIncludingScale

infix fun <T : BigDecimal> Expect<T>.isNotEqualIncludingScale(expected: T): Expect<T> (source)

Expects that the subject of this expectation (a BigDecimal) is not equal to expected including BigDecimal.scale.

Most of the time you want to use isNotNumericallyEqualTo which does not compare BigDecimal.scale in contrast to this function. Following the two functions compared:

Return
an Expect for the subject of this expectation.