doc / ch.tutteli.atrium.domain.creating / BigDecimalAssertions

BigDecimalAssertions

interface BigDecimalAssertions (source)

Defines the minimum set of assertion functions and builders applicable to BigDecimal, which an implementation of the domain of Atrium has to provide.

Functions

isEqualIncludingScale

abstract fun <T : BigDecimal> isEqualIncludingScale(subjectProvider: SubjectProvider<T>, expected: T, nameOfIsNumericallyEqualTo: String): Assertion

isNotEqualIncludingScale

abstract fun <T : BigDecimal> isNotEqualIncludingScale(subjectProvider: SubjectProvider<T>, expected: T): Assertion

isNotNumericallyEqualTo

abstract fun <T : BigDecimal> isNotNumericallyEqualTo(subjectProvider: SubjectProvider<T>, expected: T): Assertion

isNumericallyEqualTo

abstract fun <T : BigDecimal> isNumericallyEqualTo(subjectProvider: SubjectProvider<T>, expected: T): Assertion

Inheritors

BigDecimalAssertionsBuilder

object BigDecimalAssertionsBuilder : BigDecimalAssertions

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