doc / ch.tutteli.atrium.logic / ComparableAssertions

ComparableAssertions

interface ComparableAssertions

Collection of assertion functions and builders which are applicable to subjects with a Comparable type.

Functions

isEqualComparingTo

abstract fun <T1 : Comparable<T2>, T2> isEqualComparingTo(container: AssertionContainer<T1>, expected: T2): Assertion

isGreaterThan

abstract fun <T1 : Comparable<T2>, T2> isGreaterThan(container: AssertionContainer<T1>, expected: T2): Assertion

isGreaterThanOrEqual

abstract fun <T1 : Comparable<T2>, T2> isGreaterThanOrEqual(container: AssertionContainer<T1>, expected: T2): Assertion

isLessThan

abstract fun <T1 : Comparable<T2>, T2> isLessThan(container: AssertionContainer<T1>, expected: T2): Assertion

isLessThanOrEqual

abstract fun <T1 : Comparable<T2>, T2> isLessThanOrEqual(container: AssertionContainer<T1>, expected: T2): Assertion

Inheritors

DefaultComparableAssertions

class DefaultComparableAssertions : ComparableAssertions