assertk / assertk / Table2

Table2

(common, jvm) class Table2<C1, C2> : Table

A table with rows of 2 values.

See Also

tableOf

Functions

(common, jvm)

forAll

Runs the given lambda for each row in the table.

fun forAll(f: (C1, C2) -> Unit): Unit
(common, jvm)

row

Adds a row to the table with the given values.

fun row(val1: C1, val2: C2): Table2<C1, C2>