atrium-domain-builders-jvm / ch.tutteli.atrium.domain.builders.creating / ComparableAssertionsBuilder

ComparableAssertionsBuilder

object ComparableAssertionsBuilder (source)

Delegates inter alia to the implementation of ComparableAssertions. In detail, it implements ComparableAssertions by delegating to comparableAssertions which in turn delegates to the implementation via loadSingleService.

Functions

isGreaterOrEquals

fun <T1 : Comparable<T2>, T2> isGreaterOrEquals(subjectProvider: <ERROR CLASS><T1>, expected: T2): <ERROR CLASS>

isGreaterThan

fun <T1 : Comparable<T2>, T2> isGreaterThan(subjectProvider: <ERROR CLASS><T1>, expected: T2): <ERROR CLASS>

isLessOrEquals

fun <T1 : Comparable<T2>, T2> isLessOrEquals(subjectProvider: <ERROR CLASS><T1>, expected: T2): <ERROR CLASS>

isLessThan

fun <T1 : Comparable<T2>, T2> isLessThan(subjectProvider: <ERROR CLASS><T1>, expected: T2): <ERROR CLASS>

Extension Functions

asExpect

fun <T, A> A.asExpect(): <ERROR CLASS><T>
fun <T : Any, A> A.asExpect(assertionCreator: <ERROR CLASS><T>.() -> Unit): A

Turns Assert or AssertionPlantNullable into an Expect so that you can use new functionality which is not available on Assert/AssertionPlantNullable.