main.kotlin.ch.tutteli.atrium.logic.ComparableAssertions.kt Maven / Gradle / Ivy
package ch.tutteli.atrium.logic
import ch.tutteli.atrium.assertions.Assertion
import ch.tutteli.atrium.creating.AssertionContainer
/**
* Collection of assertion functions and builders which are applicable to subjects with a [Comparable] type.
*/
interface ComparableAssertions {
fun , T2 : Any?> isLessThan(container: AssertionContainer, expected: T2): Assertion
fun , T2 : Any?> isLessThanOrEqual(container: AssertionContainer, expected: T2): Assertion
fun , T2 : Any?> isNotGreaterThan(container: AssertionContainer, expected: T2): Assertion
fun , T2 : Any?> isEqualComparingTo(
container: AssertionContainer,
expected: T2
): Assertion
fun , T2 : Any?> isGreaterThanOrEqual(
container: AssertionContainer,
expected: T2
): Assertion
fun , T2 : Any?> isNotLessThan(container: AssertionContainer, expected: T2): Assertion
fun , T2 : Any?> isGreaterThan(container: AssertionContainer, expected: T2): Assertion
}