I have a funny problem... I have the proper contex...
# atrium
d
I have a funny problem... I have the proper context in
isNotNull
(the IDE shows it), but
toBe
is resolved to
@kotlin.Deprecated public fun <T : java.math.BigDecimal> ch.tutteli.atrium.creating.Assert<T>
, so I get an error that my type is not derived from BigDecimal...?
r
also pay attention if you compare BigDecimal with
toBe
. You are comparing it including scale. I suggest you switch to
isEqualIncludingScale
in case you want to compare it including scale or to
isNumericallyEqualTo