expectFalse (Function)
Signature: expectFalse(actual: bool) -> Unit
Description: Asserts that a boolean expression is false.
Parameters
- actual (
bool): The boolean condition being asserted
Returns: Unit
Example
test("non-empty list", fn() => expectFalse(isEmpty([1])))
test ("non-empty list", \() => expectFalse (isEmpty [1]))