kotest-assertions-core / io.kotest.matchers.char / kotlin.Char

Extensions for kotlin.Char

shouldBeBetween

Assert that Char is in between from and to.

fun Char.shouldBeBetween(from: Char, to: Char): Unit

shouldBeEqualToIgnoreCase

Assert that Char is equal to other ignoring case sensitivity

infix fun Char.shouldBeEqualToIgnoreCase(other: Char): Unit

shouldBeInRange

Assert that Char is in given range CharRange.

infix fun Char.shouldBeInRange(range: CharRange): Unit

shouldNotBeBetween

Assert that Char is not in between from and to.

fun Char.shouldNotBeBetween(from: Char, to: Char): Unit

shouldNotBeEqualToIgnoreCase

Assert that Char is not equal to other ignoring case sensitivity

infix fun Char.shouldNotBeEqualToIgnoreCase(other: Char): Unit

shouldNotBeInRange

Assert that Char is not in given range CharRange.

infix fun Char.shouldNotBeInRange(range: CharRange): Unit