Search in sources :

Example 1 with BigDecimals

use of org.assertj.core.internal.BigDecimals in project assertj-core by joel-costigliola.

the class AbstractBigDecimalAssert method usingComparator.

@Override
@CheckReturnValue
public SELF usingComparator(Comparator<? super BigDecimal> customComparator, String customComparatorDescription) {
    super.usingComparator(customComparator, customComparatorDescription);
    this.bigDecimals = new BigDecimals(new ComparatorBasedComparisonStrategy(customComparator, customComparatorDescription));
    return myself;
}
Also used : ComparatorBasedComparisonStrategy(org.assertj.core.internal.ComparatorBasedComparisonStrategy) BigDecimals(org.assertj.core.internal.BigDecimals) CheckReturnValue(org.assertj.core.util.CheckReturnValue)

Aggregations

BigDecimals (org.assertj.core.internal.BigDecimals)1 ComparatorBasedComparisonStrategy (org.assertj.core.internal.ComparatorBasedComparisonStrategy)1 CheckReturnValue (org.assertj.core.util.CheckReturnValue)1