public class ComparableMatchersKt
| Modifier and Type | Method and Description |
|---|---|
static <T extends Comparable<? super T>> |
beGreaterThan(T x) |
static <T extends Comparable<? super T>> |
beGreaterThanOrEqualTo(T x) |
static <T extends Comparable<? super T>> |
beLessThan(T x) |
static <T extends Comparable<? super T>> |
beLessThanOrEqualTo(T x) |
static <T> Matcher<T> |
compareTo(T other,
java.util.Comparator<T> comparator) |
static <T extends Comparable<? super T>> |
gt(T x) |
static <T extends Comparable<? super T>> |
gte(T x) |
static <T extends Comparable<? super T>> |
lt(T x) |
static <T extends Comparable<? super T>> |
lte(T x) |
public static <T extends Comparable<? super T>> Matcher<java.lang.Comparable> lt(T x)
public static <T extends Comparable<? super T>> Matcher<java.lang.Comparable> beLessThan(T x)
public static <T extends Comparable<? super T>> Matcher<java.lang.Comparable> lte(T x)
public static <T extends Comparable<? super T>> Matcher<java.lang.Comparable> beLessThanOrEqualTo(T x)
public static <T extends Comparable<? super T>> Matcher<java.lang.Comparable> gt(T x)
public static <T extends Comparable<? super T>> Matcher<java.lang.Comparable> beGreaterThan(T x)
public static <T extends Comparable<? super T>> Matcher<java.lang.Comparable> gte(T x)
public static <T extends Comparable<? super T>> Matcher<java.lang.Comparable> beGreaterThanOrEqualTo(T x)
public static <T> Matcher<T> compareTo(T other, java.util.Comparator<T> comparator)