assertk / Table2

Table2

class Table2<C1, C2> : Table

Platform and version requirements: Common

A table with rows of 2 values.

See Also

tableOf

Functions

forAll

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

Runs the given lambda for each row in the table.

row

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

Adds a row to the table with the given values.

Inherited Functions

forAll
(Common)

fun forAll(f: TableFun): Unit