val <T : Any> IAssertionPlant<T>.und: IAssertionPlant<T>
Can be used to separate assertions when using the fluent API.
For instance esGilt(1).istKleinerAls(2).und.istGroesserAls(0)
creates
two assertions (not one assertion with two sub-assertions) - the first asserts that 1 is less than 2 and a second
asserts that 1 is greater than 0. If the first assertion fails, then usually (depending on the configured
IAssertionChecker) the second assertion is not evaluated.
Return
This plant to support a fluent API.
fun <T : Any> IAssertionPlant<T>.und(assertionCreator: IAssertionPlant<T>.() -> Unit): IAssertionPlant<T>
Can be used to create a group of sub assertions when using the fluent API.
For instance esGilt(1).istKleinerAls(3).und { istGerade(); istKleinerAls(1) }
creates
two assertions where the second one consists of two sub-assertions. In case the first assertion holds, then the
second one is evaluated as a whole. Meaning, even though 1 is not even, it still evaluates that 1 is greater than 1.
Hence the reporting might (depending on the configured IReporter) contain both failing sub-assertions.
Return
This plant to support a fluent API.