checkFalse (Function)
Signature: checkFalse(label: string, actual: bool) -> Unit
Description: Labeled assertion that a boolean expression is false.
Parameters
- label (
string): A short description - actual (
bool): The boolean condition being asserted
Returns: Unit
Example
test("non-empty list", fn() => checkFalse("has item", isEmpty([1])))
test ("non-empty list", \() => checkFalse ("has item", isEmpty [1]))