kotest-assertions-arrow / io.kotest.assertions.arrow.nel

Package io.kotest.assertions.arrow.nel

Extensions for External Classes

arrow.core.NonEmptyList

io.kotest.properties.Gen

Functions

beSorted

fun <T : Comparable<T>> beSorted(): Matcher<NonEmptyList<T>>

contain

fun <T> contain(t: T): Matcher<NonEmptyList<T>>

containAll

fun <T> containAll(vararg ts: T): Matcher<NonEmptyList<T>>
fun <T> containAll(ts: List<T>): Matcher<NonEmptyList<T>>

containNoNulls

fun <T> containNoNulls(): Matcher<NonEmptyList<T>>

containNull

fun <T> containNull(): Matcher<NonEmptyList<T>>

containOnlyNulls

fun <T> containOnlyNulls(): Matcher<NonEmptyList<T>>

haveDuplicates

fun <T> haveDuplicates(): Matcher<NonEmptyList<T>>

haveElementAt

fun <T> haveElementAt(index: Int, element: T): Matcher<NonEmptyList<T>>

haveSize

fun <T> haveSize(size: Int): Matcher<NonEmptyList<T>>

singleElement

fun <T> singleElement(t: T): Matcher<NonEmptyList<T>>