beEqualComparingTo |
fun <T : Comparable<T>> beEqualComparingTo(other: T): Matcher<T> |
beGreaterThan |
fun <T : Comparable<T>> beGreaterThan(x: T): Matcher<Comparable<T>> |
beGreaterThanOrEqualTo |
fun <T : Comparable<T>> beGreaterThanOrEqualTo(x: T): Matcher<Comparable<T>> |
beLessThan |
fun <T : Comparable<T>> beLessThan(x: T): Matcher<Comparable<T>> |
beLessThanOrEqualTo |
fun <T : Comparable<T>> beLessThanOrEqualTo(x: T): Matcher<Comparable<T>> |
compareTo |
fun <T> compareTo(other: T, comparator: Comparator<T>): Matcher<T> |
gt |
fun <T : Comparable<T>> gt(x: T): Matcher<Comparable<T>> |
gte |
fun <T : Comparable<T>> gte(x: T): Matcher<Comparable<T>> |
lt |
fun <T : Comparable<T>> lt(x: T): Matcher<Comparable<T>> |
lte |
fun <T : Comparable<T>> lte(x: T): Matcher<Comparable<T>> |
shouldBeEqualComparingTo |
Verifies that this is equal to other using compareTo infix fun <T : Comparable<T>> T.shouldBeEqualComparingTo(other: T): Unit
Verifies that this is equal to other using compare from comparator fun <T : Comparable<T>> T.shouldBeEqualComparingTo(other: T, comparator: Comparator<T>): Unit |
shouldBeGreaterThan |
Verifies that this is greater than other infix fun <T : Comparable<T>> T.shouldBeGreaterThan(other: T): Unit |
shouldBeGreaterThanOrEqualTo |
Verifies that this is greater than or equal to other infix fun <T : Comparable<T>> T.shouldBeGreaterThanOrEqualTo(other: T): Unit |
shouldBeLessThan |
Verifies that this is less than other infix fun <T : Comparable<T>> T.shouldBeLessThan(other: T): Unit |
shouldBeLessThanOrEqualTo |
Verifies that this is less than or equalother infix fun <T : Comparable<T>> T.shouldBeLessThanOrEqualTo(other: T): Unit |
shouldNotBeEqualComparingTo |
Verifies that this is NOT equal to other using compareTo infix fun <T : Comparable<T>> T.shouldNotBeEqualComparingTo(other: T): Unit
Verifies that this is NOT equal to other using compare from comparator fun <T : Comparable<T>> T.shouldNotBeEqualComparingTo(other: T, comparator: Comparator<T>): Unit |
shouldNotBeGreaterThan |
Verifies that this is NOT greater than other infix fun <T : Comparable<T>> T.shouldNotBeGreaterThan(other: T): Unit |
shouldNotBeGreaterThanOrEqualTo |
Verifies that this is NOT greater than nor equal to other infix fun <T : Comparable<T>> T.shouldNotBeGreaterThanOrEqualTo(other: T): Unit |
shouldNotBeLessThan |
Verifies that this is NOT less than other infix fun <T : Comparable<T>> T.shouldNotBeLessThan(other: T): Unit |
shouldNotBeLessThanOrEqualTo |
Verifies that this is NOT less than nor equal to other infix fun <T : Comparable<T>> T.shouldNotBeLessThanOrEqualTo(other: T): Unit |