kotest-assertions-core / io.kotest.matchers.bigdecimal / java.math.BigDecimal

Extensions for java.math.BigDecimal

shouldBeGreaterThan

infix fun BigDecimal.shouldBeGreaterThan(other: BigDecimal): Unit

shouldBeGreaterThanOrEquals

infix fun BigDecimal.shouldBeGreaterThanOrEquals(other: BigDecimal): Unit

shouldBeInRange

infix fun BigDecimal.shouldBeInRange(range: ClosedRange<BigDecimal>): Unit

shouldBeLessThan

infix fun BigDecimal.shouldBeLessThan(other: BigDecimal): Unit

shouldBeLessThanOrEquals

infix fun BigDecimal.shouldBeLessThanOrEquals(other: BigDecimal): Unit

shouldBeNegative

fun BigDecimal.shouldBeNegative(): Unit

shouldBePositive

fun BigDecimal.shouldBePositive(): Unit

shouldBeZero

fun BigDecimal.shouldBeZero(): Unit

shouldHavePrecision

infix fun BigDecimal.shouldHavePrecision(precision: Int): Unit

shouldHaveScale

infix fun BigDecimal.shouldHaveScale(scale: Int): Unit

shouldNotBeGreaterThan

infix fun BigDecimal.shouldNotBeGreaterThan(other: BigDecimal): Unit

shouldNotBeGreaterThanOrEquals

infix fun BigDecimal.shouldNotBeGreaterThanOrEquals(other: BigDecimal): Unit

shouldNotBeInRange

infix fun BigDecimal.shouldNotBeInRange(range: ClosedRange<BigDecimal>): Unit

shouldNotBeLessThan

infix fun BigDecimal.shouldNotBeLessThan(other: BigDecimal): Unit

shouldNotBeLessThanOrEquals

infix fun BigDecimal.shouldNotBeLessThanOrEquals(other: BigDecimal): Unit

shouldNotHaveScale

infix fun BigDecimal.shouldNotHaveScale(scale: Int): Unit