Search in sources :

Example 1 with BigIntegers

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

the class AbstractBigIntegerAssert method usingComparator.

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

Aggregations

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