All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.kotlin.ch.tutteli.atrium.domain.robstoll.creating.ComparableAssertionsImpl.kt Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
//TODO remove file with 1.0.0
@file:Suppress("DEPRECATION")
package ch.tutteli.atrium.domain.robstoll.creating

import ch.tutteli.atrium.creating.Expect
import ch.tutteli.atrium.creating.SubjectProvider
import ch.tutteli.atrium.domain.creating.ComparableAssertions
import ch.tutteli.atrium.domain.robstoll.lib.creating.*

@Deprecated("Will be removed with 1.0.0")
class ComparableAssertionsImpl : ComparableAssertions {

    override fun , T2 : Any?> isLessThan(subjectProvider: SubjectProvider, expected: T2) =
        _isLessThan(subjectProvider, expected)

    override fun , T2 : Any?> isLessOrEquals(subjectProvider: SubjectProvider, expected: T2) =
        _isLessThanOrEqual(subjectProvider, expected)

    override fun , T2 : Any?> isGreaterThan(subjectProvider: SubjectProvider, expected: T2) =
        _isGreaterThan(subjectProvider, expected)

    override fun , T2 : Any?> isGreaterOrEquals(
        subjectProvider: SubjectProvider,
        expected: T2
    ) = _isGreaterThanOrEqual(subjectProvider, expected)

    override fun , T2 : Any?> isEqualComparingTo(
        expect: Expect,
        expected: T2
    ) = _isEqualComparingTo(expect, expected)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy