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
checkFalse("cart is empty", isEmpty(items))
checkFalse ("cart is empty", isEmpty items)