Refaster rules related to AssertJ assertions over BigDecimals
Apache 2.0Note that, contrary to collections of Refaster rules for other org.assertj.core.api.NumberAssert subtypes, these rules do not rewrite to/from BigDecimalAssert#isEqualTo(Object) and BigDecimalAssert#isNotEqualTo(Object). This is
because BigDecimal#equals(Object) considers not only the numeric value of compared
instances, but also their scale. As a result various seemingly straightforward transformations
would actually subtly change the assertion's semantics.
Source.
tech. picnic. errorprone. refasterrules. AssertJBigDecimalRulesRecipesmod run . --recipe= tech. picnic. errorprone. refasterrules. AssertJBigDecimalRulesRecipesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.