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

isNotEqualIncludingScale

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

Expects that the subject of the assertion (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:

Exceptions

AssertionError - Might throw an AssertionError if the assertion made is not correct.

Return
An Expect for the current subject of the assertion.