kotest-assertions-core / io.kotest.matchers.sequences / kotlin.sequences.Sequence / shouldBeSortedWith

shouldBeSortedWith

infix fun <T> Sequence<T>.shouldBeSortedWith(comparator: Comparator<in T>): Unit
infix fun <T> Sequence<T>.shouldBeSortedWith(cmp: (T, T) -> Int): Unit