kotest-assertions-core / io.kotest.matchers.longs

Package io.kotest.matchers.longs

Extensions for External Classes

kotlin.Long

Functions

beGreaterThan

fun beGreaterThan(x: Long): Matcher<Long>

beGreaterThanOrEqualTo

fun beGreaterThanOrEqualTo(x: Long): Matcher<Long>

beInRange

fun beInRange(range: LongRange): Matcher<Long>

beLessThan

fun beLessThan(x: Long): Matcher<Long>

beLessThanOrEqualTo

fun beLessThanOrEqualTo(x: Long): Matcher<Long>

between

Verifies that the given Long is between a and b inclusive.

fun between(a: Long, b: Long): Matcher<Long>

exactly

fun exactly(x: Long): Matcher<Long>

gt

fun gt(x: Long): Matcher<Long>

gte

fun gte(x: Long): Matcher<Long>

lbeEven

fun lbeEven(): Matcher<Long>

lbeOdd

fun lbeOdd(): Matcher<Long>

lt

fun lt(x: Long): Matcher<Long>

lte

fun lte(x: Long): Matcher<Long>

negativeL

fun negativeL(): Matcher<Long>

positiveL

fun positiveL(): Matcher<Long>