doc / ch.tutteli.atrium / isSmallerOrEquals

isSmallerOrEquals

fun IAssertionPlant<Int>.isSmallerOrEquals(expected: Int): IAssertionPlant<Int> (source)

Makes the assertion that IAssertionPlant.subject is smaller than or equals expected.

Exceptions

AssertionError - Might throw an AssertionError if the made assertion does not hold.

Return
This plant to support a fluent-style API.