checkAll (Function)
Signature: checkAll(label: string, conditions: List<bool>) -> Unit
Description: Runs every boolean in a list literal as an independent labeled soft assertion. All conditions run even when an earlier one fails.
Parameters
- label (
string): A short label shared by the group - conditions (
List<bool>): A non-empty list literal of boolean conditions
Returns: Unit
Example
test("order state", fn() => checkAll("order totals", [wrapMul(6, 7) == 42, listLength([1, 2, 3]) == 3]))
test ("order state", \() => checkAll ("order totals", [wrapMul (6, 7) == 42, listLength [1, 2, 3] == 3]))