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

Package io.kotest.matchers.time

Extensions for External Classes

kotlin.time.Duration

Functions

haveHours

fun haveHours(hours: Long): Matcher<Duration?>

haveMillis

fun haveMillis(millis: Long): Matcher<Duration?>

haveMinutes

fun haveMinutes(minutes: Long): Matcher<Duration?>

haveSeconds

fun haveSeconds(seconds: Long): Matcher<Duration?>