expectTrue (Function)
Signature: expectTrue(actual: bool) -> Unit
Description: Asserts that a boolean expression is true.
Parameters
- actual (bool): The boolean condition being asserted
Returns: Unit
Example
expectTrue(total > 0)
expectTrue (total > 0)