| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static <T extends Comparable | comparesEqualTo(T
the value which, when passed to the compareTo method of the examined object, should return zero value)Creates a matcher of |
| public static <T extends Comparable | greaterThan(T
the value which, when passed to the compareTo method of the examined object, should return greater
than zero value)Creates a matcher of |
| public static <T extends Comparable | greaterThanOrEqualTo(T
the value which, when passed to the compareTo method of the examined object, should return greater
than or equal to zero value)Creates a matcher of |
| public static <T extends Comparable | lessThan(T
the value which, when passed to the compareTo method of the examined object, should return less
than zero value)Creates a matcher of |
| public static <T extends Comparable | lessThanOrEqualTo(T
the value which, when passed to the compareTo method of the examined object, should return less
than or equal to zero value)Creates a matcher of |
| OrderingComparison | back to summary |
|---|---|
| private OrderingComparison() | |
| comparesEqualTo | back to summary |
|---|---|
| public static <T extends Comparable Creates a matcher of assertThat(1, comparesEqualTo(1))
| |
| greaterThan | back to summary |
|---|---|
| public static <T extends Comparable Creates a matcher of assertThat(2, greaterThan(1))
| |
| greaterThanOrEqualTo | back to summary |
|---|---|
| public static <T extends Comparable Creates a matcher of assertThat(1, greaterThanOrEqualTo(1))
| |
| lessThan | back to summary |
|---|---|
| public static <T extends Comparable Creates a matcher of assertThat(1, lessThan(2))
| |
| lessThanOrEqualTo | back to summary |
|---|---|
| public static <T extends Comparable Creates a matcher of assertThat(1, lessThanOrEqualTo(1))
| |