public class ComparableKt
| Modifier and Type | Method and Description |
|---|---|
static <A,B extends Comparable<? super A>> |
isBetween(Assert<? extends B> $receiver,
A start,
A end)
Asserts the value is between the expected start and end values, inclusive.
|
static <A,B extends Comparable<? super A>> |
isGreaterThan(Assert<? extends B> $receiver,
A other)
Asserts the value is greater than the expected value, using
>. |
static <A,B extends Comparable<? super A>> |
isGreaterThanOrEqualTo(Assert<? extends B> $receiver,
A other)
Asserts the value is greater or equal to the expected value, using
>=. |
static <A,B extends Comparable<? super A>> |
isLessThan(Assert<? extends B> $receiver,
A other)
Asserts the value is less than the expected value, using
<. |
static <A,B extends Comparable<? super A>> |
isLessThanOrEqualTo(Assert<? extends B> $receiver,
A other)
Asserts the value is less than or equal to the expected value, using
<=. |
static <A,B extends Comparable<? super A>> |
isStrictlyBetween(Assert<? extends B> $receiver,
A start,
A end)
Asserts the value is between the expected start and end values, non-inclusive.
|
public static <A,B extends Comparable<? super A>> void isGreaterThan(Assert<? extends B> $receiver, A other)
Asserts the value is greater than the expected value, using >.
public static <A,B extends Comparable<? super A>> void isLessThan(Assert<? extends B> $receiver, A other)
Asserts the value is less than the expected value, using <.
public static <A,B extends Comparable<? super A>> void isGreaterThanOrEqualTo(Assert<? extends B> $receiver, A other)
Asserts the value is greater or equal to the expected value, using >=.
public static <A,B extends Comparable<? super A>> void isLessThanOrEqualTo(Assert<? extends B> $receiver, A other)
Asserts the value is less than or equal to the expected value, using <=.
public static <A,B extends Comparable<? super A>> void isBetween(Assert<? extends B> $receiver, A start, A end)
Asserts the value is between the expected start and end values, inclusive.
ComparableKt.isStrictlyBetweenpublic static <A,B extends Comparable<? super A>> void isStrictlyBetween(Assert<? extends B> $receiver, A start, A end)
Asserts the value is between the expected start and end values, non-inclusive.
ComparableKt.isBetween